You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console,command,AT,521,"AT x, y","Moves the console cursor to the specified position. x,y are in pixels."
22
22
Console,command,BEEP,522,"BEEP","Generates a beep sound."
23
-
Console,command,BUTTON,523,"BUTTON x, y, w, h, variable, caption [,type]","Creates a button widget for display on a FORM. Possible types are radio, checkbox, button, label, listbox and dropdown. The variable is for data transfer to set or retrieve the button state. Set w+h to a negative value to use the caption width plus the absolute amount. Pass a negtive x+y value to offset from the previous widget. listbox and dropdown can be initialised using an array variable or by passing a vertical bar (|) character separated list of values in varible or caption."
24
23
Console,command,CLS,524,"CLS ","Clears the screen."
25
-
Console,command,DOFORM,525,"DOFORM FLAG|VAR","Runs the form created with the BUTTON and TEXT commands. Must be called from within a loop to keep the form active. Pass a control variable to receive the value of the selected or clicked form control. Pass 0 to close the form."
26
-
Console,command,HTML,526,"HTML, [title,] [x,y,w,h]","Display HTML text."
27
24
Console,command,INPUT,527,"INPUT [prompt,|;] var[, var [, ...]]","Reads from ""keyboard"" text and stores it to a variable."
28
25
Console,command,LINEINPUT,528,"LINEINPUT [#fileN] var","Reads a whole text line from file or console."
29
26
Console,command,LINPUT,529,"LINPUT [#fileN] var","Reads a whole text line from file or console."
@@ -34,7 +31,6 @@ Console,command,PEN,533,"PEN ON|OFF","Enables/Disables the PEN/MOUSE mechanism."
Console,command,PRINT,535,"PRINT [USING [format];] [expr|str [,|; [expr|str]] ...","Display text or the value of an expression."
36
33
Console,command,SOUND,536,"SOUND freq, dur_ms [, vol] [BG]","Plays a sound."
37
-
Console,command,TEXT,537,"TEXT x, y, w, h, variable","Create an input text widget for display using FORM. See BUTTON for special values for x, y, w, h"
Console,function,INKEY,539,"INKEY","Returns the last key-code in keyboard buffer, or an empty string if there are no keys. Special key-codes like the function-keys (PC) or the hardware-buttons (PalmOS) are returned as 2-byte string."
40
36
Console,function,TAB,540,"TAB (n)","Moves cursor position to the nth column."
@@ -119,8 +115,6 @@ Graphics,command,PSET,621,"PSET [STEP] x,y [, color| COLOR color]","Draw a pixel
119
115
Graphics,command,RECT,622,"RECT [STEP] x,y [,|STEP x2,y2] [, color| COLOR color] [FILLED]","Draws a rectangular parallelogram."
120
116
Graphics,command,VIEW,623,"VIEW [x1,y1,x2,y2 [,color [,border-color]]]","Defines a viewport. The viewport defined by VIEW is disabled by a VIEW command with no parameters."
121
117
Graphics,command,WINDOW,624,"WINDOW [x1,y1,x2,y2]","The WINDOW command allows you to redefine the corners of the display screen as a pair of ""world"" coordinates."
122
-
Graphics,function,IMAGEH,625,"IMAGEH #handle, index","Returns the height of the image in pixels."
123
-
Graphics,function,IMAGEW,626,"IMAGEW #handle, index","Returns the width of the image in pixels."
124
118
Graphics,function,PEN,627,"PEN (0..14)","Returns the PEN/MOUSE data."
125
119
Graphics,function,POINT,628,"POINT (x [, y])","Returns the color of the pixel at x,y."
126
120
Graphics,function,RGB,629,"RGB (r, g, b)","Returns the RGB color codes for the specified values. Takes values 0..255 for each of the color."
@@ -136,7 +130,7 @@ Language,function,IFF,638,"IFF expr","Inline version of IF. eg, animal = ""cat""
136
130
Language,keyword,BYREF,639,"BYREF","Sub/func argument declaration. Changes to the variable will be passed back to the caller. Equivalent syntax to the @ character."
137
131
Language,keyword,CASE,640,"CASE expr","Branch condition for a SELECT statement."
138
132
Language,keyword,DEF,641,"DEF name[(par1[,...])] = expression","Defines a single line function. eg, DEF MySin(x) = SIN(x): ? MySin(pi/2)"
139
-
Language,keyword,DO,642,"DO","FOR f IN files("*.txt") DO PRINT f"
133
+
Language,keyword,DO,642,"DO","FOR f IN files(""*.txt"") DO PRINT f"
Language,keyword,USG,0,"PRINT USG","Synonym for USING"
297
+
Language,keyword,AS,0,"AS #fileN","See: OPEN"
298
+
Language,keyword,TRY,0,"TRY","The TRY statement introduces a TRY/CATCH BLOCK"
299
+
Language,keyword,CATCH,0,"CATCH [var | expr]","The CATCH statement is used to CATCH an run-time error. This is typically used with errors raised when calling a file system command that cannot be completed, for example attempting to open a non-existent file. The CATCH statement has two modes. You can supply a variable argument to store the error string. Alternatively you can supply an expression. When the raised error matches the (String) expression, the error will be caught. When using the expression mode, you can supply a succession of CATCH statements to handle various error messages separately."
300
+
Language,keyword,END TRY,0,"END TRY","The END TRY statement marks the end of a TRY/CATCH block."
301
+
Language,keyword,BG,0,"SOUND frq, dur [, vol] [BG]","Play sound in the background. This prevent the program from blocking while the sound plays."
302
+
Language,function,THROW,0,"THROW","The THROW command (previously known as RTE) is used to initiate a catch-able error. If there is no surrounding TRY/CATCH block, THROW can be used to abort the program."
303
+
Graphics,command,SHOWPAGE,0,"SHOWPAGE","This command is used to display pending graphics operations allowing for smooth animations."
304
+
Data,function,ISMAP,0,"ISMAP (x)","Returns true if x is an MAP variable type. A MAP provides value-key pair access along with array or dotted notation. The MAP can be initialized from a String variable using the ARRAY command"
305
+
Data,function,ISREF,0,"ISREF (x)","Returns true if x is a reference variable type. The REF variable type is a ""reference"" to another variable (like a pointer in c). You create a reference by assigning a variable with the BYREF keyword (or @ symbol)."
306
+
Data,function,ARRAY,0,"ARRAY [var | expr]","Creates a ARRAY or MAP variable from the given string or expression"
307
+
Console,command,FORM,0,"FORM","Create a form widget. "
0 commit comments