Home Why Omnibasic Features FAQ Examples
Reviews Keyword/Syntax On-Line Manual Download Manual ScreenShots

Functions

abs() ABS(NumExpr) absolute value of integer or float
acs() ACS(NumExpr) arc cosine
addr() ADDR(VarName) is used to determine the absolute physical address of the argument variable in the system's memory
asc() ASC(StrExpr) ASCII code of first character in string
asn() ASN(NumExpr) arc sine
atn() ATN(NumExpr) arc tangent
bitchg() BITCHG(IntVar,Bit#) changes bit 0 to 1 or 1 to 0
bitclr() BITCLR(IntVar,Bit#) clears bit to 0
bitset() BITSET(IntVar,Bit#) sets bit to 1
bittst() BITTST(IntVar,Bit#) test bit
bufadr() BUFADR(Buffer) get base address of buffer
bufsiz() BUFSIZ(Buffer) get size of buffer
chr$() CHR$(StrVar) character representation of ASCII code
cos() COS(NumExpr) cosine
eof() EOF(#PathNum) to check for an end-of-file condition of a file
filpos() FILPOS(#PathNum) returns the value of the file pointer
filsiz() FILSIZ(#PathNum) returns the size of the file specified by Path Number
findaddr() FINDADDR(Addr,Quan,Pattern) search for pattern for Quan Bytes, return absolute Addr
findoffs() FINDOFFS(Addr,Quan,Pattern) search for pattern for Quan Bytes, return offset from BufAddr
fval() FVAL(StrVar) floating point value of string
hex$() HEX$(IntVar) hexadecimal value of integer
index() INDEX(PtrVar,IntExpr) index a pointer base on IntExpr * DataSize
int() INT(FitVar) integer value of float
ival() IVAL(StrVar) integer value of string
land() LAND(IntExp,IntExpr) bitwise logical AND of two integers
lcase$() LCASE$(StrVar) returns lower case version of string
left$() LEFT$(StrVar,IntExpr) the beginning character of the string through arg2 characters
len() LEN(StringVar) is used to determine the actual or working length of a string variable
lnot() LNOT(IntExpr) bitwise logical complement of integer
log() LOG(NumExpr) natural log
log10() LOG10(NumExpr) common log
lor() LOR(IntExp,IntExpr) bitwise logical or of two integers
lxor() LXOR(IntExp,IntExpr) bitwise exclusive or of two integers
mid$() MID$(StrVar,IntExp,IntExpr) the portion of the string beginning with arg1 throught arg2 characters
mod() MOD(IntExp,IntExpr) remainder of integer divide
not() NOT(BoolExpr) complement of Boolean value
peek() PEEK(IntExpr) returns a byte value from the memory location addressed by the argument
right$() RIGHT$(StrVar,IntExpr) the last arg2 characters of the string
rnd() RND(IntExpr) random number
rol() ROL(IntVar,IntExpr) rotate left IntExpr plays
ror() ROR(IntVar,IntExpr) Rotate right IntExpr plays
shl() SHL(IntVar,IntExpr) Shift left IntExpr plays
shr() SHR(IntVar,IntExpr) Shift right IntExp plays
sin() SIN(NumExpr) sine
size() SIZE(VarName) is used to determine the size (in bytes) of the variable referenced in the argument
sqr() SQR(NumExpr) square root
str$() STR$(NumExpr) string value of integer or float
substr() SUBSTR(StrVar,StrExpr) integer position of String 2 in String 1
tab() TAB(IntExpr) returns no value, but rather, sets the print position to the integer expression value of the argument
tail$() TAIL$(StrVar,IntExpr) returns the contents of A$ starting at 2 through the remainder of A$
tan() TAN(NumExpr) tangent
tdat() TDATE() for date
tday() TDAY() for day of the week (0=Sunday, 1=Monday, etc)
thour() THOUR() for hours
tmin() TMIN() for minutes
tmon() TMON() for month
trim$() TRIM$(StrVar) string without trailing spaces
tsec() TSEC() for seconds
tyear() TYEAR() for years
ucase$() UCASE$(StrVar) returns upper case version of string
using() PRINT USING(Template,StrArg,StrArg …) [print] using
val() VAL(StrExpr) numeric value of string
zhex$() ZHEX$(NumExpr) hexadecimal value of integer with padded zeros
zstr$() ZSTR$(NumExpr) string value of integer or float with padded zeros


Home || Why Omnibasic || Features || FAQ || Examples
Reviews || Links || Privacy Statement || Top of Page


   Innomation Systems, Inc.

117 Morrison Ave. Morrison, MO 65061 (573) 294-6130

OmniBasic is a trademark of Innomation Systems, Inc., other trademarks are the property of their respective owners.
Innomation Systems, Inc. reserves the right to change prices and specifications without prior notice.
Copyright © 2000, 2001, 2002 Innomation Systems, Inc.