AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Sub-expressions should be wrapped in brackets.
     eg. ("myfile/doc" RIGHT 4) LEFT 1 = "/"

NB:     Keywords must be UPPERCASE
     /n/ stands for an integer value
     /s/ stands for a string value
     /a/ stands for anything (integer or string)

Arithmetic
n + n     Integer addition
n - n     Integer subtraction
n n     Integer multiplication
n / n     Integer division
n MOD n     Modulo division (ie. remainder)

Boolean
n << n     Logical shift left
n >> n     Arithmetic shift right
n >>> n     Logical shift right
n AND n     And
n OR n     Or
n EOR n     Exclusive or
n NOT n     Not

String
s + s     Concatenation
s LEFT n     Leftmost characters
s RIGHT n     Rightmost characters
LEN s     Number of characters

Comparison (-1 is TRUE, 0 is FALSE)
a = a     Equal
a <> a     Not equal
a < a     Less than
a > a     Greater than
a <= a     Less than or equal
a >= a     Greater than or equal

Conversion
STR n     From integer to string
VAL s     From string to integer

[sh-index] Back to list of manuals