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
Copy file name to clipboardExpand all lines: documentation/sbasic_ref.csv
+7-10Lines changed: 7 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ Language,function,IFF,638,"IFF expr","Inline version of IF. eg, animal = ""cat""
130
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."
131
131
Language,keyword,CASE,640,"CASE expr","Branch condition for a SELECT statement."
132
132
Language,keyword,DEF,641,"DEF name[(par1[,...])] = expression","Defines a single line function. eg, DEF MySin(x) = SIN(x): ? MySin(pi/2)"
133
-
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
298
Language,keyword,TRY,0,"TRY","The TRY statement introduces a TRY/CATCH BLOCK"
299
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
300
Language,keyword,END TRY,0,"END TRY","The END TRY statement marks the end of a TRY/CATCH block."
301
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
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,PLOT2,0,"",""
304
-
String,function,WSPLIT,0,"",""
305
-
System,command,UNLOADLIB,0,"",""
306
303
Graphics,command,SHOWPAGE,0,"SHOWPAGE","This command is used to display pending graphics operations allowing for smooth animations."
307
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"
308
-
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)."
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)."
309
306
Data,function,ARRAY,0,"ARRAY [var | expr]","Creates a ARRAY or MAP variable from the given string or expression"
310
307
Console,command,FORM,0,"FORM","Create a form widget. "
0 commit comments