IB Statements
From CometWiki
(→Input/output statements) |
(→Runtime exception control statements) |
||
Line 98: | Line 98: | ||
[[{{PAGENAME}}/errorto|ERRORTO]]<BR/> | [[{{PAGENAME}}/errorto|ERRORTO]]<BR/> | ||
[[{{PAGENAME}}/errorsub|ERRORSUB]]<BR/> | [[{{PAGENAME}}/errorsub|ERRORSUB]]<BR/> | ||
+ | [[{{PAGENAME}}/escapeto|ESCAPETO]]<BR/> | ||
+ | [[{{PAGENAME}}/escapesub|ESCAPESUB]]<BR/> | ||
+ | [[{{PAGENAME}}/again|AGAIN]]<BR/> | ||
+ | [[{{PAGENAME}}/excpparm|EXCP=]]<BR/> | ||
+ | [[{{PAGENAME}}/excpsub|EXCPSUB=]]<BR/> | ||
+ | =====Numeric functions===== | ||
+ | [[{{PAGENAME}}/abs|ABS]]<BR/> | ||
+ | [[{{PAGENAME}}/asc|ASC]]<BR/> | ||
+ | [[{{PAGENAME}}/fpt|FPT]]<BR/> | ||
+ | [[{{PAGENAME}}/hexdec|HEXDEC]]<BR/> | ||
- | [ | + | [ihexdec|IHEXDEC] |
- | [ | + | [int|INT]</pre><pre>[len|LEN] |
- | [ | + | [msgboxfunc|MSGBOX] |
- | [ | + | [not|NOT] |
- | + | [num|NUM] | |
- | + | [pos|POS] | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | [pos | + | |
RND</pre><pre>RPOS | RND</pre><pre>RPOS | ||
- | [setbit | + | [setbit|SETBIT] |
- | [sgn | + | [sgn|SGN] |
- | [sqrt | + | [sqrt|SQRT] |
- | [testbit | + | [testbit|TESTBIT]</pre><pre>| String functions |
- | [adjust | + | [adjust|ADJUSTL/ADJUSTR] |
- | [aschex | + | [aschex|ASCHEX] |
- | [binary | + | [binary|BINARY]</pre><pre>[chksum|CHKSUM] |
- | [chr | + | [chr|CHR] |
- | [dechex | + | [dechex|DECHEX] |
- | [decihex | + | [decihex|DECIHEX] |
- | [hexasc | + | [hexasc|HEXASC] |
- | [intel | + | [intel|INTEL]</pre><pre>[inteld|INTELD] |
- | [lcase | + | [lcase|LCASE] |
- | [mid | + | [mid|MID] |
- | [move | + | [move|MOVE] |
- | [pad | + | [pad|PAD] |
- | [password | + | [password|PASSWORD]</pre><pre>[pcomm|PCOMM] |
- | [rsub | + | [rsub|RSUB] |
- | [str | + | [str|STR] |
- | [string | + | [string|STRING] |
- | [strip | + | [strip|STRIP] |
- | [stripl | + | [stripl|STRIPL]</pre><pre>[stripr|STRIPR] |
- | [sub | + | [sub|SUB] |
- | [swap | + | [swap|SWAP] |
- | [ucase | + | [ucase|UCASE] |
- | Date functions</pre><pre>[date2num | + | Date functions</pre><pre>[date2num|DATE2NUM] |
- | [datetonum | + | [datetonum|DATETONUM] |
- | [num2date | + | [num2date|NUM2DATE] |
- | [numtodate | + | [numtodate|NUMTODATE] |
- | File and directory-related functions</pre><pre>[first | + | File and directory-related functions</pre><pre>[first|FIRST] |
- | [key | + | [key|KEY] |
- | [last | + | [last|LAST] |
- | [path | + | [path|PATH] |
- | [prev | + | [prev|PREV]</pre><pre>[recnum|RECNUM] |
Status functions | Status functions | ||
- | [dstat | + | [dstat|DSTAT] |
- | [fstat | + | [fstat|FSTAT] |
- | [pstat | + | [pstat|PSTAT]</pre><pre>[sts|STS] |
DOS function calls | DOS function calls | ||
- | [dosfc | + | [dosfc|DOSFC] |
- | [dosms | + | [dosms|DOSMS] |
- | [dosrw | + | [dosrw|DOSRW]</pre><pre>Compiler directives |
- | [use | + | [use|USE] |
- | [enduse | + | [enduse|ENDUSE] |
- | [set | + | [set|SET] |
- | [unset | + | [unset|UNSET]</pre><pre>[dotif|.IF] |
- | [dotifdef | + | [dotifdef|.IFDEF] |
- | [dotifndef | + | [dotifndef|.IFNDEF] |
- | [dotelse | + | [dotelse|.ELSE] |
- | [[dotendif | + | [[dotendif|.ENDIF]] |
Revision as of 19:47, 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
ERRORTO
ERRORSUB
ESCAPETO
ESCAPESUB
AGAIN
EXCP=
EXCPSUB=
Numeric functions
[ihexdec|IHEXDEC]
[int|INT][len|LEN][msgboxfunc|MSGBOX]
[not|NOT]
[num|NUM]
[pos|POS]
RND
RPOS[setbit|SETBIT]
[sgn|SGN]
[sqrt|SQRT]
[testbit|TESTBIT]
| String functions[adjust|ADJUSTL/ADJUSTR]
[aschex|ASCHEX]
[binary|BINARY]
[chksum|CHKSUM][chr|CHR]
[dechex|DECHEX]
[decihex|DECIHEX]
[hexasc|HEXASC]
[intel|INTEL]
[inteld|INTELD][lcase|LCASE]
[mid|MID]
[move|MOVE]
[pad|PAD]
[password|PASSWORD]
[pcomm|PCOMM][rsub|RSUB]
[str|STR]
[string|STRING]
[strip|STRIP]
[stripl|STRIPL]
[stripr|STRIPR][sub|SUB]
[swap|SWAP]
[ucase|UCASE]
Date functions
[date2num|DATE2NUM][datetonum|DATETONUM]
[num2date|NUM2DATE]
[numtodate|NUMTODATE]
File and directory-related functions
[first|FIRST][key|KEY]
[last|LAST]
[path|PATH]
[prev|PREV]
[recnum|RECNUM]Status functions
[dstat|DSTAT]
[fstat|FSTAT]
[pstat|PSTAT]
[sts|STS]DOS function calls
[dosfc|DOSFC]
[dosms|DOSMS]
[dosrw|DOSRW]
Compiler directives[use|USE]
[enduse|ENDUSE]
[set|SET]
[unset|UNSET]
[dotif|.IF][dotifdef|.IFDEF]
[dotifndef|.IFNDEF]
[dotelse|.ELSE]
[[dotendif|.ENDIF]]