IB Statements

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Line 35: Line 35:
[[{{PAGENAME}}/unlock|UNLOCK]]<br/>
[[{{PAGENAME}}/unlock|UNLOCK]]<br/>
[[{{PAGENAME}}/access|ACCESS]]<br/>
[[{{PAGENAME}}/access|ACCESS]]<br/>
-
 
+
=====Input/output statements=====
-
Input/output statements
+
[[{{PAGENAME}}/input|INPUT]]<br/>
-
 
+
[[{{PAGENAME}}/input|INPUT(legacy)]]<BR/>
-
[input2.htm INPUT] (new)</pre><pre>[input.htm INPUT] (legacy)
+
[[{{PAGENAME}}/autoinput|AUTOINPUT]]<br/>
-
 
+
[[{{PAGENAME]]/wait|WAIT]]<BR/>
-
[autoinput.htm AUTOINPUT]
+
[[{{PAGENAME]]/print|PRINT]]<BR/>
-
 
+
[[{{PAGENAME]]/read|READ]]<BR/>
-
WAIT
+
[[{{PAGENAME]]/inquire|INQUIRE]]<BR/>
-
 
+
-
[print.htm PRINT]
+
-
 
+
-
[read.htm READ]</pre><pre>[inquire.htm INQUIRE]
+
[extract.htm EXTRACT]
[extract.htm EXTRACT]

Revision as of 18:39, 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
[[{{PAGENAME]]/wait|WAIT]]
[[{{PAGENAME]]/print|PRINT]]
[[{{PAGENAME]]/read|READ]]
[[{{PAGENAME]]/inquire|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
BASE256

BASE64

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