IB Statements
From CometWiki
(→Input/output statements) |
(→Input/output statements) |
||
Line 52: | Line 52: | ||
[[{{PAGENAME}}/log|LOG]]<BR/> | [[{{PAGENAME}}/log|LOG]]<BR/> | ||
[[{{PAGENAME}}/msgbox|MSGBOX]]<BR/> | [[{{PAGENAME}}/msgbox|MSGBOX]]<BR/> | ||
- | + | =====Encryption/decryption statements===== | |
- | Encryption/decryption statements</ | + | [[{{PAGENAME}}/base256|BASE256]]<BR/> |
- | + | [[{{PAGENAME}}/base64|BASE64]]<BR/> | |
- | + | [[{{PAGENAME}}/encrypt|ENCRYPT]]<BR/> | |
- | + | [[{{PAGENAME}}/decrypt|DECRYPT]]<BR/> | |
- | [encrypt | + | =====General program control statements========== |
- | + | [[{{PAGENAME}}/goto|GOTO]]<BR/> | |
- | [decrypt | + | [[{{PAGENAME}}/ongoto|ON/GOTO]]<BR/> |
- | + | [[{{PAGENAME}}/if|IF/THEN]]<BR/> | |
- | + | [[{{PAGENAME}}/if|IF/THEN/ELSE/ENDIF]]<BR/> | |
- | [goto | + | [[{{PAGENAME}}/|FOR/NEXT]]<BR/> |
- | + | [[{{PAGENAME}}/do|DO/LOOP]]<BR/> | |
- | [ongoto | + | [[{{PAGENAME}}/select|SELECT/CASE/ENDSELECT]]<BR/> |
- | + | [[{{PAGENAME}}/break|BREAK]]<BR/> | |
- | [if | + | [[{{PAGENAME}}/continue|CONTINUE]]<BR/> |
- | + | [[{{PAGENAME}}/pause|PAUSE]]<BR/> | |
- | [if | + | [[{{PAGENAME}}/wakeup|WAKEUP]]<BR/> |
- | + | =====Program activation statements===== | |
- | [ | + | [[{{PAGENAME}}/run|RUN]]<BR/> |
- | + | [[{{PAGENAME}}/activate|ACTIVATE]]<BR/> | |
- | [select | + | [[{{PAGENAME}}/interrupt|INTERRUPT]]<BR/> |
- | + | =====Program termination statements===== | |
- | [break | + | [[{{PAGENAME}}/stop|STOP]]<BR/> |
- | + | [[{{PAGENAME}}/end|END]]<BR/> | |
- | [continue | + | [[{{PAGENAME}}/error|ERROR]]<BR/> |
- | + | [[{{PAGENAME}}/terminate|TERMINATE]]<BR/> | |
- | [pause | + | [[{{PAGENAME}}/kill|KILL]]<BR/> |
- | + | =====Event-driven programming===== | |
- | [wakeup | + | [[{{PAGENAME}}/eventsub|EVENTSUB]]<BR/> |
- | + | [[{{PAGENAME}}/eventwait|EVENTWAIT]]<BR/> | |
- | [run | + | =====Subroutine control statements===== |
- | + | [[{{PAGENAME}}/gosub|GOSUB]]<BR/> | |
- | [activate | + | [[{{PAGENAME}}/return|RETURN]]<BR/> |
- | + | [[{{PAGENAME}}/pop|POP]]<BR/> | |
- | [interrupt | + | [[{{PAGENAME}}/popall|POPALL]]<BR/> |
- | + | [[{{PAGENAME}}/messagesub|MESSAGESUB]]<BR/> | |
- | [stop | + | =====Subprogram control statements===== |
- | + | [[{{PAGENAME}}/enter|ENTER]]<BR/> | |
- | [end | + | [[{{PAGENAME}}/exit|EXIT]]<BR/> |
- | + | [[{{PAGENAME}}/exitto|EXITTO]]<BR/> | |
- | [error | + | [[{{PAGENAME}}/exitall|EXITALL]]<BR/> |
- | + | =====Internet gateway control statement===== | |
- | [terminate | + | [[{{PAGENAME}}/control|CONTROL]]<BR/> |
- | + | =====Runtime exception control statements===== | |
- | [kill | + | [[{{PAGENAME}}/errorto|ERRORTO]]<BR/> |
- | + | [[{{PAGENAME}}/errorsub|ERRORSUB]]<BR/> | |
- | [eventsub | + | |
- | + | ||
- | [eventwait | + | |
- | + | ||
- | Subroutine control statements | + | |
- | + | ||
- | [gosub | + | |
- | + | ||
- | [pop | + | |
- | + | ||
- | [popall | + | |
- | + | ||
- | [messagesub | + | |
- | + | ||
- | Subprogram control statements | + | |
- | + | ||
- | [exit | + | |
- | + | ||
- | [exitto | + | |
- | + | ||
- | [exitall | + | |
- | + | ||
- | Internet gateway control statement | + | |
- | + | ||
- | Runtime exception control statements | + | |
- | + | ||
- | [errorto | + | |
- | + | ||
- | [errorsub | + | |
[escapeto.htm ESCAPETO]</pre><pre>[escapesub.htm ESCAPESUB] | [escapeto.htm ESCAPETO]</pre><pre>[escapesub.htm ESCAPESUB] |
Revision as of 19:41, 15 September 2008
Numeric Operators
addition +
subtraction-
multiplication *
division /
modulo MOD
String operator
Relation operators
EQ or =
NE or NOT=
GT or >
LT or <
Logical operators
Initialization statements
Assignment statements
File and directory control statements
FILE
CREATE
ERASE
CLEARFILE
RENAME
OPEN
CLOSE
LOCK
UNLOCK
ACCESS
Input/output statements
INPUT
INPUT(legacy)
AUTOINPUT
WAIT
PRINT
READ
INQUIRE
EXTRACT
WRITE
INSERT
POSITION
REWRITE
UPDATE
DELETE
LOG
MSGBOX
Encryption/decryption statements
BASE256
BASE64
ENCRYPT
DECRYPT
General program control statements=====
GOTO
ON/GOTO
IF/THEN
IF/THEN/ELSE/ENDIF
FOR/NEXT
DO/LOOP
SELECT/CASE/ENDSELECT
BREAK
CONTINUE
PAUSE
WAKEUP
Program activation statements
Program termination statements
Event-driven programming
Subroutine control statements
GOSUB
RETURN
POP
POPALL
MESSAGESUB
Subprogram control statements
Internet gateway control statement
Runtime exception control statements
[escapeto.htm ESCAPETO][escapesub.htm ESCAPESUB][again.htm AGAIN]
[excpparm.htm EXCP=]
[excpsub.htm EXCPSUB=]
Numeric functions
[abs.htm ABS][asc.htm ASC]
[fpt.htm FPT]
[hexdec.htm HEXDEC]
[ihexdec.htm IHEXDEC]
[int.htm INT]
[len.htm LEN][msgboxfunc.htm MSGBOX]
[not.htm NOT]
[num.htm NUM]
[pos.htm POS]
RND
RPOS[setbit.htm SETBIT]
[sgn.htm SGN]
[sqrt.htm SQRT]
[testbit.htm TESTBIT]
| String functions[adjust.htm ADJUSTL/ADJUSTR]
[aschex.htm ASCHEX]
[binary.htm BINARY]
[chksum.htm CHKSUM][chr.htm CHR]
[dechex.htm DECHEX]
[decihex.htm DECIHEX]
[hexasc.htm HEXASC]
[intel.htm INTEL]
[inteld.htm INTELD][lcase.htm LCASE]
[mid.htm MID]
[move.htm MOVE]
[pad.htm PAD]
[password.htm PASSWORD]
[pcomm.htm PCOMM][rsub.htm RSUB]
[str.htm STR]
[string.htm STRING]
[strip.htm STRIP]
[stripl.htm STRIPL]
[stripr.htm STRIPR][sub.htm SUB]
[swap.htm SWAP]
[ucase.htm UCASE]
Date functions
[date2num.htm DATE2NUM][datetonum.htm DATETONUM]
[num2date.htm NUM2DATE]
[numtodate.htm NUMTODATE]
File and directory-related functions
[first.htm FIRST][key.htm KEY]
[last.htm LAST]
[path.htm PATH]
[prev.htm PREV]
[recnum.htm RECNUM]Status functions
[dstat.htm DSTAT]
[fstat.htm FSTAT]
[pstat.htm PSTAT]
[sts.htm STS]DOS function calls
[dosfc.htm DOSFC]
[dosms.htm DOSMS]
[dosrw.htm DOSRW]
Compiler directives[use.htm USE]
[enduse.htm ENDUSE]
[set.htm SET]
[unset.htm UNSET]
[dotif.htm .IF][dotifdef.htm .IFDEF]
[dotifndef.htm .IFNDEF]
[dotelse.htm .ELSE]
[[dotendif.htm .ENDIF]]