IB Statements
From CometWiki
Line 1: | Line 1: | ||
======Numeric Operators====== | ======Numeric Operators====== | ||
- | [[operation|addition +]]<br/> | + | [[{{PAGENAME}}/operation|addition +]]<br/> |
- | [[operation|subtraction-]]<br/> | + | [[{{PAGENAME}}/operation|subtraction-]]<br/> |
- | [[operation|multiplication *]]<br/> | + | [[{{PAGENAME}}/operation|multiplication *]]<br/> |
- | [[operation|division /]]<br/> | + | [[{{PAGENAME}}/operation|division /]]<br/> |
- | [[operation|modulo MOD]]<br/> | + | [[{{PAGENAME}}/operation|modulo MOD]]<br/> |
======String operator====== | ======String operator====== | ||
- | [[operation|string +]] | + | [[{{PAGENAME}}/operation|string +]] |
======Relation operators====== | ======Relation operators====== | ||
- | [[relational|EQ or =]]<br/> | + | [[{{PAGENAME}}/relational|EQ or =]]<br/> |
- | [[relational|NE or NOT=]]<br/> | + | [[{{PAGENAME}}/relational|NE or NOT=]]<br/> |
- | [[relational|GT or >]]<br/> | + | [[{{PAGENAME}}/relational|GT or >]]<br/> |
- | [[relational|LT or <]]<br/> | + | [[{{PAGENAME}}/relational|LT or <]]<br/> |
======Logical operators====== | ======Logical operators====== | ||
- | [[logical|AND]]<br/> | + | [[{{PAGENAME}}/logical|AND]]<br/> |
- | [[logical|OR]]<br/> | + | [[{{PAGENAME}}/logical|OR]]<br/> |
- | [[logical|XOR]]<br/> | + | [[{{PAGENAME}}/logical|XOR]]<br/> |
=====Initialization statements===== | =====Initialization statements===== | ||
- | [[clear|CLEAR]]<br/> | + | [[{{PAGENAME}}/clear|CLEAR]]<br/> |
- | [[clear|CLEARLOCAL]]<br/> | + | [[{{PAGENAME}}/clear|CLEARLOCAL]]<br/> |
- | [[clear|CLEARCOMMON]]<br/> | + | [[{{PAGENAME}}/clear|CLEARCOMMON]]<br/> |
=====Assignment statements===== | =====Assignment statements===== | ||
- | [[let|LET]]<br/> | + | [[{{PAGENAME}}/let|LET]]<br/> |
- | [[secure|SECURE]]<br/> | + | [[{{PAGENAME}}/secure|SECURE]]<br/> |
=====File and directory control statements===== | =====File and directory control statements===== | ||
- | [[file|FILE]]<br/> | + | [[{{PAGENAME}}/file|FILE]]<br/> |
- | [[create|CREATE]]<br/> | + | [[{{PAGENAME}}/create|CREATE]]<br/> |
- | [[erase|ERASE]]<br/> | + | [[{{PAGENAME}}/erase|ERASE]]<br/> |
- | [[clearfile|CLEARFILE]]<br/> | + | [[{{PAGENAME}}/clearfile|CLEARFILE]]<br/> |
- | [[rename|RENAME]]<br/> | + | [[{{PAGENAME}}/rename|RENAME]]<br/> |
- | [[open|OPEN]]<br/> | + | [[{{PAGENAME}}/open|OPEN]]<br/> |
- | [[close|CLOSE]]<br/> | + | [[{{PAGENAME}}/close|CLOSE]]<br/> |
- | [[lock|LOCK]]<br/> | + | [[{{PAGENAME}}/lock|LOCK]]<br/> |
- | [[unlock|UNLOCK]]<br/> | + | [[{{PAGENAME}}/unlock|UNLOCK]]<br/> |
- | [[access|ACCESS]]<br/> | + | [[{{PAGENAME}}/access|ACCESS]]<br/> |
Input/output statements | Input/output statements |
Revision as of 21:56, 5 September 2008
Contents |
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
[input2.htm INPUT] (new)[input.htm INPUT] (legacy)[autoinput.htm AUTOINPUT]
WAIT
[print.htm PRINT]
[read.htm READ]
[inquire.htm INQUIRE][extract.htm EXTRACT]
[write.htm WRITE]
[insert.htm INSERT]
[position.htm POSITION]
[rewrite.htm REWRITE]
[update.htm UPDATE][delete.htm DELETE]
[log.htm LOG]
[msgbox.htm MSGBOX]
Encryption/decryption statements
BASE256BASE64
[encrypt.htm ENCRYPT]
[decrypt.htm DECRYPT]
|
General program control statements[goto.htm GOTO]
[ongoto.htm ON/GOTO]
[if.htm IF/THEN]
[if.htm IF/THEN/ELSE/ENDIF]
[for.htm FOR/NEXT]
[do.htm DO/LOOP][select.htm SELECT/CASE/ENDSELECT]
[break.htm BREAK]
[continue.htm CONTINUE]
[pause.htm PAUSE]
[wakeup.htm WAKEUP]
Program activation statements[run.htm RUN]
[activate.htm ACTIVATE]
[interrupt.htm INTERRUPT]
Program termination statements[stop.htm STOP]
[end.htm END]
[error.htm ERROR]
[terminate.htm TERMINATE]
[kill.htm KILL]
Event-driven programming[eventsub.htm EVENTSUB]
[eventwait.htm EVENTWAIT]
Subroutine control statements
[gosub.htm GOSUB]
[return.htm RETURN][pop.htm POP]
[popall.htm POPALL]
[messagesub.htm MESSAGESUB]
Subprogram control statements
[enter.htm ENTER][exit.htm EXIT]
[exitto.htm EXITTO]
[exitall.htm EXITALL]
Internet gateway control statement
[control.htm CONTROL]Runtime exception control statements
[errorto.htm ERRORTO]
[errorsub.htm ERRORSUB]
[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]]