IB Statements

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(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</pre><pre>BASE256
+
[[{{PAGENAME}}/base256|BASE256]]<BR/>
-
 
+
[[{{PAGENAME}}/base64|BASE64]]<BR/>
-
BASE64
+
[[{{PAGENAME}}/encrypt|ENCRYPT]]<BR/>
-
 
+
[[{{PAGENAME}}/decrypt|DECRYPT]]<BR/>
-
[encrypt.htm ENCRYPT]
+
=====General program control statements==========
-
 
+
[[{{PAGENAME}}/goto|GOTO]]<BR/>
-
[decrypt.htm DECRYPT]
+
[[{{PAGENAME}}/ongoto|ON/GOTO]]<BR/>
-
|</pre><pre>General program control statements
+
[[{{PAGENAME}}/if|IF/THEN]]<BR/>
-
 
+
[[{{PAGENAME}}/if|IF/THEN/ELSE/ENDIF]]<BR/>
-
[goto.htm GOTO]
+
[[{{PAGENAME}}/|FOR/NEXT]]<BR/>
-
 
+
[[{{PAGENAME}}/do|DO/LOOP]]<BR/>
-
[ongoto.htm ON/GOTO]
+
[[{{PAGENAME}}/select|SELECT/CASE/ENDSELECT]]<BR/>
-
 
+
[[{{PAGENAME}}/break|BREAK]]<BR/>
-
[if.htm IF/THEN]
+
[[{{PAGENAME}}/continue|CONTINUE]]<BR/>
-
 
+
[[{{PAGENAME}}/pause|PAUSE]]<BR/>
-
[if.htm IF/THEN/ELSE/ENDIF]
+
[[{{PAGENAME}}/wakeup|WAKEUP]]<BR/>
-
 
+
=====Program activation statements=====
-
[for.htm FOR/NEXT]</pre><pre>[do.htm DO/LOOP]
+
[[{{PAGENAME}}/run|RUN]]<BR/>
-
 
+
[[{{PAGENAME}}/activate|ACTIVATE]]<BR/>
-
[select.htm SELECT/CASE/ENDSELECT]
+
[[{{PAGENAME}}/interrupt|INTERRUPT]]<BR/>
-
 
+
=====Program termination statements=====
-
[break.htm BREAK]
+
[[{{PAGENAME}}/stop|STOP]]<BR/>
-
 
+
[[{{PAGENAME}}/end|END]]<BR/>
-
[continue.htm CONTINUE]
+
[[{{PAGENAME}}/error|ERROR]]<BR/>
-
 
+
[[{{PAGENAME}}/terminate|TERMINATE]]<BR/>
-
[pause.htm PAUSE]
+
[[{{PAGENAME}}/kill|KILL]]<BR/>
-
 
+
=====Event-driven programming=====
-
[wakeup.htm WAKEUP]</pre><pre>Program activation statements
+
[[{{PAGENAME}}/eventsub|EVENTSUB]]<BR/>
-
 
+
[[{{PAGENAME}}/eventwait|EVENTWAIT]]<BR/>
-
[run.htm RUN]
+
=====Subroutine control statements=====
-
 
+
[[{{PAGENAME}}/gosub|GOSUB]]<BR/>
-
[activate.htm ACTIVATE]
+
[[{{PAGENAME}}/return|RETURN]]<BR/>
-
 
+
[[{{PAGENAME}}/pop|POP]]<BR/>
-
[interrupt.htm INTERRUPT]</pre><pre>Program termination statements
+
[[{{PAGENAME}}/popall|POPALL]]<BR/>
-
 
+
[[{{PAGENAME}}/messagesub|MESSAGESUB]]<BR/>
-
[stop.htm STOP]
+
=====Subprogram control statements=====
-
 
+
[[{{PAGENAME}}/enter|ENTER]]<BR/>
-
[end.htm END]
+
[[{{PAGENAME}}/exit|EXIT]]<BR/>
-
 
+
[[{{PAGENAME}}/exitto|EXITTO]]<BR/>
-
[error.htm ERROR]
+
[[{{PAGENAME}}/exitall|EXITALL]]<BR/>
-
 
+
=====Internet gateway control statement=====
-
[terminate.htm TERMINATE]
+
[[{{PAGENAME}}/control|CONTROL]]<BR/>
-
 
+
=====Runtime exception control statements=====
-
[kill.htm KILL]</pre><pre>Event-driven programming
+
[[{{PAGENAME}}/errorto|ERRORTO]]<BR/>
-
 
+
[[{{PAGENAME}}/errorsub|ERRORSUB]]<BR/>
-
[eventsub.htm EVENTSUB]
+
-
 
+
-
[eventwait.htm EVENTWAIT]
+
-
 
+
-
Subroutine control statements
+
-
 
+
-
[gosub.htm GOSUB]</pre><pre>[return.htm RETURN]
+
-
 
+
-
[pop.htm POP]
+
-
 
+
-
[popall.htm POPALL]
+
-
 
+
-
[messagesub.htm MESSAGESUB]
+
-
 
+
-
Subprogram control statements</pre><pre>[enter.htm ENTER]
+
-
 
+
-
[exit.htm EXIT]
+
-
 
+
-
[exitto.htm EXITTO]
+
-
 
+
-
[exitall.htm EXITALL]
+
-
 
+
-
Internet gateway control statement</pre><pre>[control.htm CONTROL]
+
-
 
+
-
Runtime exception control statements
+
-
 
+
-
[errorto.htm ERRORTO]
+
-
 
+
-
[errorsub.htm 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

Contents

Numeric Operators

addition +
subtraction-
multiplication *
division /
modulo MOD

String operator

string +

Relation operators

EQ or =
NE or NOT=
GT or >
LT or <

Logical operators

AND
OR
XOR

Initialization statements

CLEAR
CLEARLOCAL
CLEARCOMMON

Assignment statements

LET
SECURE

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

RUN
ACTIVATE
INTERRUPT

Program termination statements

STOP
END
ERROR
TERMINATE
KILL

Event-driven programming

EVENTSUB
EVENTWAIT

Subroutine control statements

GOSUB
RETURN
POP
POPALL
MESSAGESUB

Subprogram control statements

ENTER
EXIT
EXITTO
EXITALL

Internet gateway control statement

CONTROL

Runtime exception control statements

ERRORTO
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]]
Personal tools