IB Statements

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(New page: =Numeric Operators= [operation addition_+]<br> [operation subtraction_-] [operation.htm#multiplication *] [operation.htm#division /] [operation.htm#modulo MOD] String operator</pre><pr...)
Line 1: Line 1:
-
=Numeric Operators=
+
======Numeric Operators======
-
[operation addition_+]<br>
+
[[operation|addition +]]<br>
-
[operation subtraction_-]
+
[[operation|subtraction-]]<br>
 +
[[operation|multiplication *]]<br>
 +
[[operation|division /]]<br>
 +
[[operation|modulo MOD]]<br>
-
[operation.htm#multiplication *]
+
======String operator=======
 +
[[operation|string +]]
-
[operation.htm#division /]
+
======Relation operators======
-
 
+
[[operation|relational]
-
[operation.htm#modulo MOD]
+
-
 
+
-
String operator</pre><pre>[operation.htm#string +]
+
-
 
+
-
Relation operators
+
-
 
+
-
[operation.htm#relational
+
EQ or =
EQ or =
Line 21: Line 18:
GT or &gt;
GT or &gt;
-
GE or &gt;=</pre><pre>LT or &lt;
+
GE or &gt;=<br>LT or &lt;
LE or &lt;=
LE or &lt;=
Line 29: Line 26:
Logical operators
Logical operators
-
[operation.htm#logical
+
[operation|logical
AND
AND
-
OR</pre><pre>XOR
+
OR<br>XOR
]
]
Line 297: Line 294:
[dotelse.htm .ELSE]
[dotelse.htm .ELSE]
-
[dotendif.htm .ENDIF]
+
[[dotendif.htm .ENDIF]]

Revision as of 20:53, 5 September 2008

Numeric Operators

addition +
subtraction-
multiplication *
division /
modulo MOD

String operator=

string +

Relation operators

[[operation|relational]

EQ or =

NE or NOT=

GT or >

GE or >=
LT or <

LE or <=

]

Logical operators

[operation|logical

AND

OR
XOR ]

Initialization statements

[clear.htm CLEAR]

[clear.htm CLEARLOCAL]

[clear.htm CLEARCOMMON]
Assignment statements

[let.htm LET]

[secure.htm SECURE]

File and directory control statements

[file.htm FILE]
[create.htm CREATE]

[erase.htm ERASE]

[clearfile.htm CLEARFILE]

[rename.htm RENAME]

[open.htm OPEN]

[close.htm CLOSE]
[lock.htm LOCK]

[unlock.htm UNLOCK]

[access.htm 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
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