Skip to content

Commit ee6d6bb

Browse files
committed
COMMON: update help doc
1 parent 982dc41 commit ee6d6bb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

documentation/sbasic_ref.csv

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Console,command,PLAY,534,"PLAY string","Play musical notes."
3232
Console,command,PRINT,535,"PRINT [USING [format];] [expr|str [,|; [expr|str]] ...","Display text or the value of an expression."
3333
Console,command,SOUND,536,"SOUND freq, dur_ms [, vol] [BG]","Plays a sound."
3434
Console,function,CAT,538,"CAT (x)","Returns a console code. 0 = reset, 1 = bold, -1 bold-off, 2 = underline, -2 = underline-off, 3 = reverse, -3 = reverse-off."
35-
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."
35+
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 are returned as 2-byte string."
3636
Console,function,TAB,540,"TAB (n)","Moves cursor position to the nth column."
37-
Console,function,DEFINEKEY,1015,"DEFINEKEY k,sub","Binds a keystoke to a user defined function"
37+
Console,function,DEFINEKEY,1015,"DEFINEKEY k,sub","Binds a keystroke to a user defined function"
3838
Data,command,DELETE,542,"DELETE a, idx [, count]","Deletes 'count' elements at position 'idx' of array 'a'."
3939
Data,command,EMPTY,543,"EMPTY (x)","Returns true if x is: a zero length array, an empty string, an integer or real with the value 0."
4040
Data,command,INSERT,544,"INSERT a, idx, val [, val [, ...]]]","Inserts the values to the specified array at the position idx."
@@ -66,7 +66,7 @@ Data,statement,RESTORE,572,"RESTORE label","Specifies the position of the next d
6666
Date,command,DATEDMY,573,"DATEDMY dmy| julian_date, BYREF d, BYREF m, BYREF y","Returns the day, month and the year as integers."
6767
Date,command,TIMEHMS,574,"TIMEHMS hms| timer, BYREF h, BYREF m, BYREF s","Converts a time-value to hours, minutes and seconds integer values."
6868
Date,function,DATE,575,"DATE","Returns the current date as string ""DD/MM/YYYY""."
69-
Date,function,DATEFMT,576,"DATEFMT (format, dmy| (d,m,y)| julian_date)","Returns formated date string."
69+
Date,function,DATEFMT,576,"DATEFMT (format, dmy| (d,m,y)| julian_date)","Returns formatted date string."
7070
Date,function,JULIAN,577,"JULIAN (dmy| (d,m,y))","Returns the Julian date. (dates must be greater than 1/1/100 AD)."
7171
Date,function,TIME,578,"TIME","Returns the current time as string ""HH:MM:SS""."
7272
Date,function,WEEKDAY,579,"WEEKDAY (dmy| (d,m,y)| julian_date)","Returns the day of the week (0 = Sunday)."
@@ -75,18 +75,18 @@ Data,command,APPEND,581,"APPEND a, val [, val [, ...]]","Inserts the values at t
7575
File,command,BLOAD,582,"BLOAD filename[, address]","Loads a specified memory image file into memory."
7676
File,command,BPUTC,583,"BPUTC #fileN; byte","Writes a byte on file or device. (Binary mode)."
7777
File,command,BSAVE,584,"BSAVE filename, address, length","Copies a specified portion of memory to a specified file."
78-
File,command,CHDIR,585,"CHDIR dir","Changes the current working directory. Not supported on PalmOS version."
78+
File,command,CHDIR,585,"CHDIR dir","Changes the current working directory."
7979
File,command,CHMOD,586,"CHMOD file, mode","Change permissions of a file. See also ACCESS."
8080
File,command,CLOSE,587,"CLOSE #fileN","Close a file or device."
8181
File,command,COPY,588,"COPY ""file"", ""newfile""","Makes a copy of specified file to the 'newfile'."
8282
File,command,DIRWALK,589,"DIRWALK directory [, wildcards] [USE ...]","Walk through the specified directories. The user-defined function must returns zero to stop the process."
8383
File,command,INPUT,590,"INPUT #fileN; var1 [,delim] [, var2 [,delim]] ...","Reads data from file."
8484
File,command,KILL,591,"KILL ""file""","Deletes the specified file."
8585
File,command,LOCK,592,"LOCK","Lock a record or an area (not yet implemented)."
86-
File,command,MKDIR,593,"MKDIR dir","Create a directory. Not supported on PalmOS version."
86+
File,command,MKDIR,593,"MKDIR dir","Create a directory."
8787
File,command,OPEN,594,"OPEN file [FOR {INPUT|OUTPUT|APPEND}] AS #fileN","Makes a file or device available for sequential input, sequential output."
8888
File,command,RENAME,595,"RENAME ""file"", ""newname""","Renames the specified file."
89-
File,command,RMDIR,596,"RMDIR dir","Removes a directory. Not supported on PalmOS version."
89+
File,command,RMDIR,596,"RMDIR dir","Removes a directory."
9090
File,command,SEEK,597,"SEEK #fileN; pos","Sets file position for the next read/write."
9191
File,command,TLOAD,598,"TLOAD file, BYREF var [, type]","Loads a text file into array variable. Each text-line is an array element. type 0 = load into array (default), 1 = load into string."
9292
File,command,TSAVE,599,"TSAVE file, var","Writes an array to a text file. Each array element is a text-line."
@@ -114,7 +114,7 @@ Graphics,command,PLOT,620,"PLOT xmin, xmax USE f(x)","Graph of f(x)."
114114
Graphics,command,PSET,621,"PSET [STEP] x,y [, color| COLOR color]","Draw a pixel."
115115
Graphics,command,RECT,622,"RECT [STEP] x,y [,|STEP x2,y2] [, color| COLOR color] [FILLED]","Draws a rectangular parallelogram."
116116
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."
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."
117+
Graphics,command,WINDOW,624,"WINDOW [left,bottom,right,top]","The WINDOW command allows you to redefine the corners of the display screen as a pair of ""world"" coordinates. WINDOW is also overloaded as a function, returning a system object providing access to the following sub-commands: graphicsScreen1, graphicsScreen2, textScreen, alert, ask, menu, message, showKeypad, insetTextScreen"
118118
Graphics,function,PEN,627,"PEN (0..14)","Returns the PEN/MOUSE data."
119119
Graphics,function,POINT,628,"POINT (x [, y])","Returns the color of the pixel at x,y."
120120
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."

0 commit comments

Comments
 (0)