| Home | Why Omnibasic | Features | FAQ | Examples |
|---|---|---|---|---|
| Reviews | Keyword/Syntax | On-Line Manual | Download Manual | ScreenShots |
Statement Syntax
| base | BASE 0 or BASE 1 |
| beep | BEEP |
| buffer | BUFFER BufName=BufSize |
| bufread | BUFREAD #FileNum,VarAddr,VarSize |
| bufwrite | BUFWRITE #Filenum,VarAddr,VarSize |
| close | CLOSE #FileNum'…'FileNum |
| colordialog | COLORDIALOG IntExpr |
| const | CONST ConstName=Int |
| construct | CONSTRUCT Object [In Object] |
| continue | CONTINUE IF CompExp |
| create | CREATE #FileNum,"FileName":AccMode |
| data | DATA Const,Const,….Const |
| decimals | DECIMALS IntExpr |
| delete | DELETE FileName |
| destroy | DESTROY Object |
| digits | DIGITS IntExpr |
| dim | DIM Var AS DataType or DIM VarName{(ArraySize)}:DataType{monidier modifier} |
| or DIM StringName{(ArraySize)}:STRING[StringSize]{modifier modifier} | |
| end | END |
| exchange | EXCHANGE VAR,VAR |
| exit | EXIT EVENT |
| exitif | EXIT IF CompExp[THEN] |
| endexit | ENDEXIT |
| filedialog | FILEDIALOG DialogType,StartPath[,Pattern,DefaultPatter] |
| Types:SAVE,SAVEAS,OPEN | |
| fill | FIL Addr,Quantity[,Pattern] |
| fontdialog | FONTDIALOG |
| for | FOR CountVar=StartExp TO StopExp[STEP IntExp] |
| get | GET #FileNum,VarName |
| goto | GOTO Label |
| gosub | GOSUB Label |
| hexout | HEXOUT[Motorola or Intel or C] |
| if | IF CompVar=CompVar THEN |
| else | ELSE |
| endif | ENDIF |
| inc | INC IntVar or INC PrtVar |
| dec | DEC IntVar or DEC PtrVar |
| init | INIT Var[,Pattern] |
| input | INPUT Var or INPUT "Custom Prompt",Var or INPUT #Switches, Var |
| finput | FINPUT Var or INPUT "Custom Prompt",Var or INPUT #Switches, Var |
| inputdialog | INPUTDIALOG "TitleString","PrompString"[,Text] |
| let | LET Var=Expr or Var=Expr |
| loop | LOOP |
| endloop | ENDLOOP |
| makelower | MAKELOWER StrVar |
| makeupper | MAKEUPPER StrVar |
| msgbox | MSGBOX Type,TitleStr,MsgStr[,AnswerOption] |
| next | NEXT |
| on | ON ERROR[GOTO Label] |
| on goto | ON X GOTO Label 1,Label 2,Label 3,etc. |
| on gosub | ON X GOSUB Label 1,Label 2,Label 3,etc. |
| open | OPEN #FileNum,"FileName":AccMode |
| pass | PASS EVENT |
| poke | POKE Expr1,Expr2 |
| PRINT Expr,Expr,…Expr or PRINT #PathNum,Expr | |
| fprint | FPRINT Expr or FPRINT #PathNum,Expr |
| printdialog | PRINTDIALOG |
| program | PROGRAM |
| put | PUT #FileNum,VarName |
| randomize | RANDOMIZE IntExpr |
| read | READ Var,Var,…Var or READ #FileNum,StringVar |
| rem | REM |
| repeat | REPEAT |
| until | UNTIL CompVar=CompVar |
| replacedialog | REPLACEDIALOG ModeInt,SearchString,ReplaceString |
| restore | RESTORE Label |
| return | RETURN |
| searchdialog | SEARCHDIALOG ModeInt,SearchString |
| seek | SEEK #PathNum,NumExpr |
| select | SELECT CASE |
| case | CASE |
| endcase | [ENDCASE] |
| endselect | ENDSELECT |
| setbufadr | SETBUFADR BufName=Addr |
| setvec | SETVEC VarName=Addr or SETVEC StringVar=Addr,StringSize\StringSize |
| is optional (default is DIM size) | |
| shell | SHELL StrExpr |
| swap | SWAP VAR,VAR |
| type | TYPE TypeName=FieldName{Array}:DataType{;FieldName{Array}:DataType…} |
| wend | ENDWHILE |
| while | WHILE Expr DO |
| endwhile | ENDWHILE |
| write | WRITE #FileNum,String Var |
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.