![]() |
![]() |
AS-UniBASIC OnLINE Specifications @Overview @Symbols @Separators @Keywords @Constants @Variables @Mono Operators @Dual Operators @Arrays @Pointers @Structures @Built in Procedures @Built in Functions @User Procedures and Functions @Language Reference Web affiliate sites ![]()
|
AS-UniBASIC System and Application Program Interface - SAPI - Lanquage Reference Syntax Conventions All names are displayed wiht a first Capital letter e.g. Cls The | character denotes where The := sequence means definition Left ( and right ) parentheses enclose a list of parameters (prm) Left < and right > angles enclose an optional list The hush # character is preceeding a channel number The default channel is #1 Left [ and right ] brackets enclose a repeatable list Relative point means a point x,y relative to graphics origin Important Note: Not all names are specified yet On Line Name Syntax / Type / Remark Abs(prm) | prm := real numeric expression Real Function that returns the absolute value of prm Acos(prm) | prm := real numeric expression Real Function that returns the Arc Cosine angle of prm in radians Acot(prm) | prm := real numeric expression Real Function that returns the Arc Contangent angle of prm in radians Adate prm | prm := + or - seconds Procedure that advances or moves back the clock to prm And Logical AND Operator of two operands that returns a Real 0 or 1 Arc <#channel,> To x,y,angle [<,x,y> To x,y,angle] Procedure that draws an arc of a circle between two x,y points Arc_r <#channel,> To x,y,angle [<,x,y> To x,y,angle] Procedure that draws an arc of a circle between two relative x,y points Asin(prm) | prm := real numeric expression Real Function that returns the Arc Sine angle of prm in radians At <#channel,> row,col | row & col := integer numeric expressions Procedure that non_destructive modifies the cursor position Atan(prm) | prm := real numeric expression Real Function that returns the Arc Tangent angle of prm in radians Baud prm | prm := word integer expression Procedure that sets the baude rate of serial channel to prm Beep Procedure specific to Hardware that activates beep functions Beeping Real Function that returns a Real 1 if is active or 0 if is inactive Block <#channel,>,width,height,x,y,colour | all word integers Procedure that fills a screen block as specified by parameters Border <#channel,> width <,colour> Procedure that adds a border to the window as specified by parameters Brkpnt Procedure that Stops execution at Brake Point location Btoh$(prm) | prm := byte integer Char Function that returns the hexadecimal form of prm Button prm$, Proc_name | prm$ := Icon file name from Tool Directory device | Proc_name := procedure name to transfer control Keyword used to set a Tool_bar Button Byte Keyword used to declare Byte type of integer and Character type of names Call addr <,prm> | prm := Long Processor Register Procedure that transfers Processor Program Counter to addr location Char Keyword used to declare Character type of names Choise prm$ , Alt+Key, Proc_name, Status_bar_comment$ | prm$ := menu name | Key := a Key strike | Proc_name := procedure name to transfer control | Status_bar_comment$ := comment to procedure Keyword used to set a Menu Choise Chr$(prm) | prm := word value of ASCII character set Character Function that returns the Character of prm Circle <#channel,> x,y,radius Procedure that draws a circle to x,y center point Clear Procedure that sets to zero all values of variables Close #channel | channel := word integer expression Procedure that closes the channel Cls <#channel> | channel := word integer expression Procedure that sets colour of channel to Paper value Cnlfree<(#channel) | channel := word integer expression Real Function that returns Real 0 if channel is open or 1 if not Code(prm$) | prms$ := ASCII character Word Function that returns the ASCII code of prm$ Con_widthXheightAxXy_prm | prm := I/O buffer length Console Device that enables I/O on specified Window Continue Procedure that enables a Halted Program to continue Copy I_Device To O_Device | I_Device, O_Device := any valid IO device name Procedure that copies from I_Device To O_Device Copy_n I_Device To O_Device | I_Device, O_Device := any valid IO device name Procedure that copies from I_Device To O_Device but not a Header, if any Cos(prm) | prm := real angle in radians Real Function that returns the Cosine of prm Cot(prm) | prm := real angle in radians Real Function that returns the Cotangent of prm Csize <#channel,> width, height | channel := word integer expresion Procedure that sets the charater size to attached window of channel Cursor <#channel,> x,y <,x,y> | channel := word integer expresion Procedure that positions cursor to x,y point relative to current point Data prm <,prm> | prm := expression Keyword that defines data list in program lines Date Real Function that returns the numeric form of clock date Date$ Char Function that returns the date and time of clock Day$<(prm)> | prm := real numeric form of clock date Character Function that returns current day or the day of prm Format Frame Gbytes Hor_bar Ink, Input Lbytes, Line, Line_r Menu_bar Movem Net, New Open, Open_con, Open_in, Open_new Over, Pan Pan_bar Paper, Pause Pbytes Pendown, Penup, Point, Point_r Poke, Poke_w Poke_l, Poke_q, Poke_r, Poke_s Print, Prterr Putfds Randomise, Recol, Read, Run Sbytes, Scale, Scroll, Scroll_bar Sdate, Sexec Setfp_a, Setfp_r Stime, Stop, Strip Title, Title_bar Tool_bar Turn, Turnto Under, Ver_bar Width, Window Interpreter specific Auto [linenum,offset] | prm := linenum & offset := long integers Procedure specific to Interpreter that enables Edit mode to program Find List, Load, Lrun Listcst, Listvar, Listarr Listfnc, Listprc, Listptr Merge, Mrun, New Qsave, Qload Renum, Retry, Run Save, Stop Shutdown Troff, Tron Syntax See Lanquage Reference specification Please send your questions referring to the product by e-mail to: webmaster@ansarsoft.com ![]()
0
0
0
0
0
0
|
Send e-mail to: webmaster@ansarsoft.com with your questions or comments about this web site. Last modified March 12, 2001 - Athens time 01:30 Copyright © 2001 by Ansarsoft. All rights reserved. |