Menu

[b84aab]: / documentation / sbasic_ref.csv  Maximize  Restore  History

Download this file

299 lines (298 with data), 31.1 kB

Math,command,RANDOMIZE,810,"RANDOMIZE [int]","Seeds the random number generator."
Math,function,FIX,731,"FIX (x)","Rounds x upwards to the nearest integer."
Math,function,EXP,730,"EXP (x)","Returns the value of e raised to the power of x."
Math,function,FLOOR,732,"FLOOR (x)","Largest integer value not greater than x."
Math,function,ASIN,715,"ASIN (x)","Inverse sine."
Math,function,ASINH,716,"ASINH (x)","Inverse sine."
Math,function,ATAN,717,"ATAN (x)","Inverse tangent."
Math,function,ATAN2,718,"ATAN2 (x, y)","Inverse tangent (x,y)."
Math,function,ATANH,719,"ATANH (x)","Inverse tangent."
Math,function,ATN,720,"ATN (x)","Inverse tangent."
Math,function,CEIL,721,"CEIL (x)","Smallest integral value not less than x."
Math,function,COS,722,"COS (x)","Cosine."
Math,function,COSH,723,"COSH (x)","Cosine."
Math,function,COT,724,"COT (x)","Cotangent."
Math,function,COTH,725,"COTH (x)","Cotangent."
Math,function,CSC,726,"CSC (x)","Co secant."
Math,function,CSCH,727,"CSCH (x)","Co secant."
Math,function,DEG,728,"DEG (x)","Radians to degrees."
Math,function,DETERM,729,"DETERM (A[, toler])","Determinant of A. toler = tolerance number. the absolute value of the lowest acceptable number. default = 0."
Math,function,ASECH,714,"ASECH (x)","Inverse secant."
Console,command,AT,521,"AT x, y","Moves the console cursor to the specified position. x,y are in pixels."
Console,command,BEEP,522,"BEEP","Generates a beep sound."
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."
Console,command,CLS,524,"CLS ","Clears the screen."
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."
Console,command,HTML,526,"HTML, [title,] [x,y,w,h]","Display HTML text."
Console,command,INPUT,527,"INPUT [prompt,|;] var[, var [, ...]]","Reads from "keyboard" text and stores it to a variable."
Console,command,LINEINPUT,528,"LINEINPUT [#fileN] var","Reads a whole text line from file or console."
Console,command,LINPUT,529,"LINPUT [#fileN] var","Reads a whole text line from file or console."
Console,command,LOCATE,530,"LOCATE y, x","Moves the console cursor to the specified position. x,y are in character cells."
Console,command,LOGPRINT,531,"LOGPRINT ...","PRINT to the application logfile. The syntax is the same as command PRINT."
Console,command,NOSOUND,532,"NOSOUND","Stop background sound and clear the sound queue."
Console,command,PEN,533,"PEN ON|OFF","Enables/Disables the PEN/MOUSE mechanism."
Console,command,PLAY,534,"PLAY string","Play musical notes."
Console,command,PRINT,535,"PRINT [USING [format];] [expr|str [,|; [expr|str]] ...","Display text or the value of an expression."
Console,command,SOUND,536,"SOUND freq, dur_ms [, vol] [BG]","Plays a sound."
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,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."
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."
Console,function,TAB,540,"TAB (n)","Moves cursor position to the nth column."
Console,function,DEFINEKEY,1015,"DEFINEKEY k,sub","Binds a keystoke to a user defined function"
Data,command,DELETE,542,"DELETE a, idx [, count]","Deletes 'count' elements at position 'idx' of array 'a'."
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."
Data,command,INSERT,544,"INSERT a, idx, val [, val [, ...]]]","Inserts the values to the specified array at the position idx."
String,command,JOIN,545,"JOIN words(), delimiters, string","Returns the words of the specified string into array 'words'."
Data,command,READ,546,"READ var[, var ...]","Assigns values in DATA items to specified variables."
Data,command,REDIM,547,"REDIM x","Same as DIM only the contents of x are preserved."
Data,command,SEARCH,548,"SEARCH A, key, BYREF ridx [USE cmpfunc]","Scans an array for the key. If key is not found the SEARCH command returns (in ridx) the value. (LBOUND(A)-1). In default-base arrays that means -1. The cmpfunc (if its specified) it takes 2 vars to compare. It must return 0 if x = y; non-zero if x <> y."
Data,command,SORT,549,"SORT array [USE cmpfunc]","Sorts an array. The cmpfunc if specified, takes 2 vars to compare and must return: -1 if x < y, +1 if x > y, 0 if x = y."
Data,command,SWAP,550,"SWAP a, b","Exchanges the values of two variables. The parameters may be variables of any type."
Data,function,BALLOC,551,"BALLOC (size)","Allocates a memory block. The variable can be released using ERASE."
Data,function,CDBL,552,"CDBL (x)","Convert x to 64b real number. Meaningless. Used for compatibility."
Data,function,CINT,553,"CINT (x)","Converts x to 32b integer. Meaningless. Used for compatibility."
Data,function,CREAL,554,"CREAL (x)","Convert x to 64b real number. Meaningless. Used for compatibility."
Data,function,ISARRAY,555,"ISARRAY (x)","Returns true if x is an array."
Data,function,ISDIR,556,"ISDIR (x)","Returns true if x is a directory."
Data,function,ISFILE,557,"ISFILE (x)","Returns true if x is a regular file."
Data,function,ISLINK,558,"ISLINK (x)","Returns true if x is a link."
Data,function,ISNUMBER,559,"ISNUMBER (x)","Returns true if x is a number (or it can be converted to a number)."
Data,function,ISSTRING,560,"ISSTRING (x)","Returns true if x is a string (and cannot be converted to a number)."
Data,function,LBOUND,561,"LBOUND (array [, dim])","Returns the lower bound of 'array'."
Data,function,LEN,562,"LEN(d)","Returns the length of the value contained in the variable."
Data,function,MALLOC,563,"MALLOC (size)","Allocates a memory block. The variable can be released using ERASE."
Data,function,UBOUND,567,"UBOUND (array [, dim])","Returns the upper bound of 'array'."
Data,function,VADR,568,"VADR (var)","Returns the memory address of the variable's data."
Data,statement,DATA,569,"DATA constant1 [,constant2]...","Stores one or more constants, of any type, for subsequent access via READ command."
Data,statement,DIM,570,"DIM var([lower TO] upper [, ...]) [, ...]","Reserves storage space for an array."
Data,statement,ERASE,571,"ERASE var[, var[, ... var]]","Deallocates the memory used by the specified arrays or variables. After that these variables turned to simple integers with zero value."
Data,statement,RESTORE,572,"RESTORE label","Specifies the position of the next data to be read."
Date,command,DATEDMY,573,"DATEDMY dmy| julian_date, BYREF d, BYREF m, BYREF y","Returns the day, month and the year as integers."
Date,command,TIMEHMS,574,"TIMEHMS hms| timer, BYREF h, BYREF m, BYREF s","Converts a time-value to hours, minutes and seconds integer values."
Date,function,DATE,575,"DATE","Returns the current date as string "DD/MM/YYYY"."
Date,function,DATEFMT,576,"DATEFMT (format, dmy| (d,m,y)| julian_date)","Returns formated date string."
Date,function,JULIAN,577,"JULIAN (dmy| (d,m,y))","Returns the Julian date. (dates must be greater than 1/1/100 AD)."
Date,function,TIME,578,"TIME","Returns the current time as string "HH:MM:SS"."
Date,function,WEEKDAY,579,"WEEKDAY (dmy| (d,m,y)| julian_date)","Returns the day of the week (0 = Sunday)."
File,command,ACCESS,580,"ACCESS (file)","Returns the access rights of the file."
Data,command,APPEND,581,"APPEND a, val [, val [, ...]]","Inserts the values at the end of the specified array."
File,command,BLOAD,582,"BLOAD filename[, address]","Loads a specified memory image file into memory."
File,command,BPUTC,583,"BPUTC #fileN; byte","Writes a byte on file or device. (Binary mode)."
File,command,BSAVE,584,"BSAVE filename, address, length","Copies a specified portion of memory to a specified file."
File,command,CHDIR,585,"CHDIR dir","Changes the current working directory. Not supported on PalmOS version."
File,command,CHMOD,586,"CHMOD file, mode","Change permissions of a file. See also ACCESS."
File,command,CLOSE,587,"CLOSE #fileN","Close a file or device."
File,command,COPY,588,"COPY "file", "newfile"","Makes a copy of specified file to the 'newfile'."
File,command,DIRWALK,589,"DIRWALK directory [, wildcards] [USE ...]","Walk through the specified directories. The user-defined function must returns zero to stop the process."
File,command,INPUT,590,"INPUT #fileN; var1 [,delim] [, var2 [,delim]] ...","Reads data from file."
File,command,KILL,591,"KILL "file"","Deletes the specified file."
File,command,LOCK,592,"LOCK","Lock a record or an area (not yet implemented)."
File,command,MKDIR,593,"MKDIR dir","Create a directory. Not supported on PalmOS version."
File,command,OPEN,594,"OPEN file [FOR {INPUT|OUTPUT|APPEND}] AS #fileN","Makes a file or device available for sequential input, sequential output."
File,command,RENAME,595,"RENAME "file", "newname"","Renames the specified file."
File,command,RMDIR,596,"RMDIR dir","Removes a directory. Not supported on PalmOS version."
File,command,SEEK,597,"SEEK #fileN; pos","Sets file position for the next read/write."
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."
File,command,TSAVE,599,"TSAVE file, var","Writes an array to a text file. Each array element is a text-line."
File,command,WRITE,600,"WRITE #fileN; var1 [, ...]","Store variables to a file as binary data."
File,function,ACCESS,601,"ACCESS (file)","Returns the access rights of the file."
File,function,BGETC,602,"BGETC (fileN)","Reads and returns a byte from file or device (Binary mode) ."
File,function,EOF,603,"EOF (fileN)","Returns true if the file pointer is at end of the file. For COMx and SOCL VFS returns true if the connection is broken."
File,function,EXIST,604,"EXIST (file)","Returns true if file exists."
File,function,FILES,605,"FILES (wildcards)","Returns an array with the filenames. If there are no files returns an empty array."
System,function,FRE,606,"FRE (x)","Returns system information. eg, 0 = free memory, "
File,function,FREEFILE,607,"FREEFILE","Returns an unused file handle."
File,function,INPUT,608,"INPUT (len [, fileN])","Reads 'len' bytes from file or console (if fileN is omitted). This function does not convert the data or remove spaces."
File,function,LOF,609,"LOF (fileN)","Returns the length of file in bytes. For other devices, returns the number of available data."
File,function,SEEK,610,"SEEK (fileN)","Returns the current file position."
Graphics,command,ARC,611,"ARC [STEP] x,y,r,astart,aend [,aspect [,color]] [COLOR color]","Draws an arc. astart, aend = first,last angle in radians."
Graphics,command,CHART,612,"CHART LINECHART|BARCHART, array() [, style [, x1, y1, x2, y2]]","Draws a chart of array values in the rectangular area x1,y1,x2,y2. Styles: 0 = simple, 1 = with-marks, 2 = with ruler, 3 = with marks and ruler."
Graphics,command,CIRCLE,613,"CIRCLE [STEP] x,y,r [,aspect [, color]] [COLOR color] [FILLED]","Draws a circle (or an ellipse if the aspect is specified)."
Graphics,command,COLOR,614,"COLOR foreground-color [, background-color]","Specifies the foreground and background colors."
Graphics,command,DRAW,615,"DRAW "commands"","Draw lines as specified by the given directional commands. "
Graphics,command,DRAWPOLY,616,"DRAWPOLY array [,x-origin,y-origin [, scalef [, color]]] [COLOR color] [FILLED]","Draws a polyline. "
Graphics,command,IMAGE,617,"IMAGE #handle, index, x, y [,sx,sy [,w,h]]","Display a graphical image."
Graphics,command,LINE,618,"LINE [STEP] x,y [,|STEP x2,y2] [, color| COLOR color]","Draws a line."
Graphics,command,PAINT,619,"PAINT [STEP] x, y [,fill-color [,border-color]]","Fills an enclosed area on the graphics screen with a specific color. x,y = Screen coordinate (column, row) within the area that is to be filled."
Graphics,command,PLOT,620,"PLOT xmin, xmax USE f(x)","Graph of f(x)."
Graphics,command,PSET,621,"PSET [STEP] x,y [, color| COLOR color]","Draw a pixel."
Graphics,command,RECT,622,"RECT [STEP] x,y [,|STEP x2,y2] [, color| COLOR color] [FILLED]","Draws a rectangular parallelogram."
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."
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."
Graphics,function,IMAGEH,625,"IMAGEH #handle, index","Returns the height of the image in pixels."
Graphics,function,IMAGEW,626,"IMAGEW #handle, index","Returns the width of the image in pixels."
Graphics,function,PEN,627,"PEN (0..14)","Returns the PEN/MOUSE data."
Graphics,function,POINT,628,"POINT (x [, y])","Returns the color of the pixel at x,y."
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."
Graphics,function,RGBF,630,"RGBF (r, g, b)","Returns the RGB color codes for the specified values. Takes values 0..1 for each of the color."
Graphics,function,TEXTHEIGHT,631,"TEXTHEIGHT (s)","Returns the text height of string s in pixels. See TXTH."
Graphics,function,TEXTWIDTH,632,"TEXTWIDTH (s)","Returns the text width of string s in pixels. See TXTW."
Graphics,function,TXTH,633,"TXTH (s)","Returns the text height of string s in pixels. See TEXTHEIGHT."
Graphics,function,TXTW,634,"TXTW (s)","Returns the text width of string s in pixels. See TEXTWIDTH."
Graphics,function,XPOS,635,"XPOS","Returns the current X position of the cursor in "characters"."
Graphics,function,YPOS,636,"YPOS","Returns the current Y position of the cursor in "characters"."
Language,command,CALL,637,"CALL (fp)","Invoke a sub or func by address pointer."
Language,function,IFF,638,"IFF expr","Inline version of IF. eg, animal = "cat": fur = IFF( animal = "cat", "yes", "no"): ? fur"
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."
Language,keyword,CASE,640,"CASE expr","Branch condition for a SELECT statement."
Language,keyword,DEF,641,"DEF name[(par1[,...])] = expression","Defines a single line function. eg, DEF MySin(x) = SIN(x): ? MySin(pi/2)"
Language,keyword,DO,642,"DO","FOR f IN files("*.txt") DO PRINT f"
Language,keyword,ELIF,643,"ELIF","foo = 2: if foo==1: ? "one": ELIF foo==2: ? "two": fi"
Language,keyword,ELSE,644,"ELSE","foo = 2: if foo==1: ? "one": ELSE: ? "not one": fi"
Language,keyword,ELSEIF,645,"ELSEIF","foo = 2: if foo==1: ? "one": ELSEIF foo==2: ? "two": fi"
Language,keyword,ENDIF,646,"ENDIF","foo = 1: if foo==1: ? "one": ENDIF"
Language,keyword,EXEC,647,"EXEC file","Transfers control to another operating system program."
Language,keyword,EXIT,648,"EXIT [FOR|LOOP|SUB|FUNC]","Exits a multi line function definition, a loop, or a subprogram. By default (if no parameter is specified) exits from last command block (loop, for-loop or routine)."
Language,keyword,EXPORT,649,"EXPORT thing","Export a SUB, FUNC or variable from a UNIT to be used by the unit consumer."
Language,keyword,FI,650,"FI","Declares the end of an IF statement. Same as ENDIF."
Language,keyword,FUNC,651,"FUNC foo (a, b)","Declares a function. Return a value by assigning a 'variable' with the same name as the function."
Language,keyword,IMPORT,652,"IMPORT","Import an exported UNIT variable, SUB or FUNC."
Language,keyword,LOCAL,653,"LOCAL","Declare local variables inside a SUB or FUNC. Local variables no longer exist once the SUB or FUNC has returned."
Language,keyword,NEXT,654,"NEXT","See FOR."
Language,keyword,SELECT,655,"SELECT CASE expr","Perform multiple tests on the expression. Offers a more concise syntax to writing successive IF tests."
Language,keyword,STOP,656,"STOP [error]","Terminates execution of a program, closes all files opened by the program, and returns control to the operating system."
Language,keyword,SUB,657,"SUB foo (a, b)","Declare a sub procedure. Sub's do not return a value but can return argument values when declared as BYREF."
Language,keyword,THEN,658,"THEN","foo = 1: if foo==1 THEN: ? "one": fi"
Language,keyword,UNIT,659,"UNIT name","Units are a set of procedures, functions and/or variables that can be used by another program or unit."
Language,keyword,UNTIL,660,"UNTIL","a = 0: repeat: a++: ? a: UNTIL a = 10"
Language,keyword,USE,661,"USE","Used with various commands for passing a user-defined expression. eg SPLIT s," ",v USE TRIM(x). Trim each element of v."
Language,operator,AND,662,"a AND b","Logical AND. Right side is not evaluated if left side evaluates to False."
Language,operator,BAND,663,"a BAND b","Bitwise AND."
Language,operator,BOR,664,"a BOR b","Bitwise OR."
Language,operator,EQV,665,"a EQV b","Bitwise equivalence."
Language,operator,IMP,666,"a IMP b","Bitwise IMP."
Language,operator,IN,667,"a IN b","Returns an index (1 Based) to the matching element when b is an array. Returns TRUE if the value is contained within b as a string."
Language,operator,LIKE,668,"a LIKE b","Regular-expression operator. Compares the left part of the expression with the right side regex pattern."
Language,operator,MDL,669,"MDL","Modulus."
Language,operator,MOD,670,"a MOD b","Modulus. Equivalent syntax to the percent character, eg a % b"
Language,operator,NAND,671,"a NAND b","Bitwise exclusive NOT AND."
Language,operator,NOR,672,"a NOR b","Bitwise NOT OR."
Language,operator,NOT,673,"a NOT b","Invert expression result. Equivalent syntax to the exclamation character, eg a ! b"
Language,operator,OR,674,"a OR b","Logical OR. Right side is not evaluated if left side evaluates to True."
Language,operator,XNOR,675,"a XNOR b","Bitwise exclusive NOT OR."
Language,operator,XOR,676,"a XOR b","Bitwise exclusive OR. Equivalent syntax to: a ~ b"
Language,statement,CHAIN,677,"CHAIN source","Compile and run the given source. Source can be a file name, a line of code or an array of code. Use ENV to share variables with the parent process."
Language,statement,CONST,678,"CONST name = expr","Declare a variable who's value does not change during program execution."
Language,statement,END,679,"END","Declares the END of a SUB or FUNC."
Language,statement,FOR,680,"FOR expr","Defines a FOR/NEXT loop. FOR counter = start TO end [STEP incr] ... NEXT.  FOR element IN array ... NEXT. Array can also be a HASH or UDT (user defined type - basically a composite dot separated variable)"
Language,statement,GOSUB,681,"GOSUB label","Causes program execution to branch to the specified label; when the RETURN command is encountered, execution branches to the command immediately following the most recent GOSUB command."
Language,statement,GOTO,682,"GOTO label","Causes program execution to branch to a specified position (label)."
Language,statement,IF,683,"IF expr","Tests the expression and IF it evaluates to a non-zero value program flow will resume after the following THEN statement."
Language,statement,LABEL,684,"LABEL name","Defines a label. A label marks a position in the code."
Language,statement,LET,685,"LET var=expr","Assigns a value to the variable."
Language,statement,ON,686,"ON GOTO|GOSUB label1 [, ..., labelN]","Causes a branch to one of a list of labels."
Language,statement,OPTION,687,"OPTION keyword","Used to pass parameters to the run-time environment."
Language,statement,REM,688,"REM comment","Code comments. Comments can also be introduced using # and single quote character. "
Language,statement,REPEAT,689,"REPEAT ... UNTIL expr","Begins the definition of a REPEAT/UNTIL loop."
Language,statement,RETURN,690,"RETURN","Execution branches to the command immediately following the most recent GOSUB command."
Language,statement,WEND,691,"WEND","Go back to the start of a WHILE statement."
Language,statement,WHILE,692,"WHILE expr","Loop while a test condition evaluates to true."
Math,command,DERIV,693,"DERIV x, maxtries, maxerr, BYREF result, BYREF errcode USE expr","Calculation of derivative. errcode = 0 for success; otherwise calculation error. "
Math,command,DIFFEQN,694,"DIFFEQN x0, y0, xf, maxseg, maxerr, BYREF yf, BYREF errcode USE expr","Differential equation - Runge-Kutta method. x0 = initial x,y, xf = x final. errcode = 0 for success; otherwise calculation error. yf = result."
Math,command,EXPRSEQ,695,"EXPRSEQ BYREF array, xmin, xmax, count USE expression","Returns an array with 'count' elements. Each element had the 'y' value of its position as it is returned by the expression."
Math,command,INTERSECT,696,"INTERSECT Ax, Ay, Bx, By, Cx, Cy, Dx, Dy, BYREF type, BYREF Rx, BYREF Ry","Calculates the intersection of the two line segments A-B and C-D. Returns: Rx,Ry = cross."
Math,command,M3APPLY,697,"M3APPLY m3x3, BYREF poly","Apply matrix to poly-line."
Math,command,M3IDENT,698,"M3IDENT BYREF m3x3","Resets matrix (Identity)."
Math,command,M3ROTATE,699,"M3ROTATE BYREF m3x3, angle [, x, y]","Rotate by angle with center x,y."
Math,command,M3SCALE,700,"M3SCALE BYREF m3x3, x, y, Sx, Sy","Scale matrix."
Math,command,M3TRANS,701,"M3TRANS BYREF m3x3, Tx, Ty","Matrix translation."
Math,command,POLYEXT,702,"POLYEXT poly(), BYREF xmin, BYREF ymin, BYREF xmax, BYREF ymax","Returns the polyline's extents."
Math,command,ROOT,703,"ROOT low, high, segs, maxerr, BYREF result, BYREF errcode USE expr","Roots of F(x)."
Math,function,ABS,704,"ABS (x)","Returns the absolute value of x."
Math,function,ABSMAX,705,"ABSMAX (...)","Returns the absolute max value of x."
Math,function,ABSMIN,706,"ABSMIN (...)","Returns the absolute min value of x."
Math,function,ACOS,707,"ACOS (x)","Inverse cosine."
Math,function,ACOSH,708,"ACOSH (x)","Inverse cosine."
Math,function,ACOT,709,"ACOT (x)","Inverse cotangent."
Math,function,ACOTH,710,"ACOTH (x)","Inverse cotangent."
Math,function,ACSC,711,"ACSC (x)","Inverse co secant."
Math,function,ACSCH,712,"ACSCH (x)","Inverse co secant."
Math,function,ASEC,713,"ASEC (x)","Inverse secant."
Math,function,FRAC,733,"FRAC (x)","Fractional part of x."
Math,function,INT,734,"INT (x)","Rounds x downwards to the nearest integer."
Math,function,INVERSE,735,"INVERSE (A)","Returns the inverse matrix of A."
Math,function,LINEQN,736,"LINEQN (a, b [, toler])","Returns an array with the values of the unknowns. This function solves equations using the Gauss-Jordan method."
Math,function,LOG,737,"LOG (x)","Returns the natural logarithm of x."
Math,function,LOG10,738,"LOG10 (x)","Returns the base-10 logarithm of x."
Math,function,MAX,739,"MAX (...)","Maximum value of parameters. "
Math,function,MIN,740,"MIN (...)","Minimum value of parameters. Parameters can be anything (arrays, ints, reals, strings)."
Math,function,POLYAREA,741,"POLYAREA (poly)","Returns the area of the polyline poly."
Math,function,POLYCENT,742,"POLYCENT","Polycent."
Math,function,POW,743,"POW (x, y)","x raised to power of y."
Math,function,PTDISTLN,744,"PTDISTLN (Bx,By,Cx,Cy,Ax,Ay)","Distance of point A from line B, C."
Math,function,PTDISTSEG,745,"PTDISTSEG (Bx,By,Cx,Cy,Ax,Ay)","Distance of point A from line segment B-C."
Math,function,PTSIGN,746,"PTSIGN (Ax,Ay,Bx,By,Qx,Qy)","The sign of point Q from line segment A->B."
Math,function,RAD,747,"RAD (x)","Degrees to radians."
Math,function,RND,748,"RND","Returns a random number from the range 0 to 1."
Math,function,ROUND,749,"ROUND (x [, decs])","Rounds the x to the nearest integer or number with 'decs' decimal digits."
Math,function,SEC,750,"SEC (x)","Secant."
Math,function,SECH,751,"SECH (x)","Secant."
Math,function,SEGCOS,752,"SEGCOS (Ax,Ay,Bx,By,Cx,Cy,Dx,Dy)","Cosine of 2 line segments (A->B, C->D)."
Math,function,SEGLEN,753,"SEGLEN (Ax,Ay,Bx,By)","Length of line segment."
Math,function,SEGSIN,754,"SEGSIN (Ax,Ay,Bx,By,Cx,Cy,Dx,Dy)","Sinus of 2 line segments (A->B, C->D)."
Math,function,SEQ,755,"SEQ (xmin, xmax, count)","Returns an array with 'count' elements. Each element has the x value of its position."
Math,function,SGN,756,"SGN (x)","Sign of x (+1 for positive, -1 for negative and 0 for zero)."
Math,function,SIN,757,"SIN (x)","Sine."
Math,function,SINH,758,"SINH (x)","Sine."
Math,function,SQR,759,"SQR (x)","Square root of x."
Math,function,STATMEAN,760,"STATMEAN (...)","Arithmetical mean."
Math,function,STATMEANDEV,761,"STATMEANDEV (...)","Mean deviation."
Math,function,STATSPREADP,762,"STATSPREADS (...)","Sample spread."
Math,function,STATSPREADS,763,"STATSPREADP (...)","Population spread."
Math,function,SUM,764,"SUM (...)","Sum of value."
Math,function,SUMSQ,765,"SUMSQ (...)","Sum of square value."
Math,function,TAN,766,"TAN (x)","Tangent."
Math,function,TANH,767,"TANH (x)","Tangent."
String,command,SINPUT,768,"SINPUT src; var [, delim] [,var [, delim]] ...","Splits the string 'src' into variables which are separated by delimiters."
String,command,SPLIT,769,"SPLIT string, delimiters, words() [, pairs] [USE expr]","Returns the words of the specified string into array 'words'."
String,command,SPRINT,770,"SPRINT var; [USING...;] ...","Create formated string and storing it to var. See also: PRINT command."
String,function,ASC,771,"ASC (s)","Returns the ASCII code of first character of the string s."
String,function,BCS,772,"BCS (s)","converts (B)ASIC-style strings to (C)-style (S)trings."
String,function,BIN,773,"BIN (x)","Returns the binary value of x as string."
String,function,CBS,774,"CBS (s)","converts (C)-style strings to (B)ASIC-style (S)trings."
String,function,CHOP,775,"CHOP (source)","Chops off the last character of the string 'source' and returns the result."
String,function,CHR,776,"CHR (x)","Returns one-char string of character with ASCII code x."
String,function,DISCLOSE,777,"DISCLOSE (str[, pairs [, ignore-pairs]])","Discloses a string."
String,function,ENCLOSE,778,"ENCLOSE (str[, pair])","Encloses a string."
String,function,FORMAT,779,"FORMAT (format, val)","Returns a formated string."
String,function,HEX,780,"HEX (x)","Returns the hexadecimal value of x as string."
String,function,INSTR,781,"INSTR ([start,] s1, s2)","Returns the position of the first occurrence of the string s2 into string s1 (starting from the position 'start')."
String,function,LCASE,782,"LCASE (s)","Converts the string s to lower case."
String,function,LEFT,783,"LEFT (s [,n])","Returns the n number of leftmost chars of string s. if not specified n = 1."
String,function,LEFTOF,784,"LEFTOF (s1, s2)","Returns the left part of s1 at the position of the first occurrence of the string s2 into string s1."
String,function,LEFTOFLAST,785,"LEFTOFLAST (s1, s2)","Returns the left part of s1 at the position of the last occurrence of the string s2 into string s1."
String,function,LOWER,786,"LOWER (s)","Converts the string s to lower case."
String,function,LTRIM,787,"LTRIM (s)","Removes leading white-spaces from string s."
String,function,MID,788,"MID (s, start [,length])","Returns the part (length) of the string s starting from 'start' position."
String,function,OCT,789,"OCT (x)","Returns the octal value of x as string."
String,function,REPLACE,790,"REPLACE (source, pos, str [, len])","Writes str into pos of source and returns the new string."
String,function,RIGHT,791,"RIGHT (s[,n])","Returns the n number of rightmost chars of string s. if not specified n = 1."
String,function,RIGHTOF,792,"RIGHTOF (s1, s2)","Returns the right part of s1 at the position of the first occurrence of the string s2 into string s1."
String,function,RIGHTOFLAST,793,"RIGHTOFLAST (s1, s2)","Returns the right part of s1 at the position of the last occurrence of the string s2 into string s1."
String,function,RINSTR,794,"RINSTR ([start,] s1, s2)","Returns the position of the last occurrence of the string s2 into string s1 (starting from the position 'start')."
String,function,RTRIM,795,"RTRIM (s)","Removes trailing white-spaces from string s."
String,function,SPACE,796,"SPACE (n)","Returns a string of n spaces."
String,function,SPC,797,"SPC (n)","Returns a string of n spaces."
String,function,SQUEEZE,798,"SQUEEZE (s)","Removes all leading, trailing and duplicated white-space."
String,function,STR,799,"STR (n)","Converts the number n into a string."
String,function,STRING,800,"STRING ( count [,start | s] )","Creates a new string of count length."
String,function,TRANSLATE,801,"TRANSLATE (source, what [, with])","Translates all occurrences of the string 'what' found in source with the string 'with' and returns the new string."
String,function,TRIM,802,"TRIM(s)","Removes all leading and trailing white-space."
String,function,UCASE,803,"UCASE (s)","Converts the string s to upper case."
String,function,UPPER,804,"UPPER (s)","Converts the string s to upper case."
String,function,VAL,805,"VAL (s)","Returns the numeric value of string s."
System,command,DELAY,806,"DELAY ms","Delay for a specified amount of milliseconds. Note 'delay' depends on the system clock."
System,command,ENV,807,"ENV expr","See ENVIRON."
System,command,ENVIRON,808,"ENVIRON expr","Adds a variable to or deletes a variable from the current environment variable-table."
System,command,PAUSE,809,"PAUSE [secs]","Pauses the execution for a specified length of time, or until user hit the keyboard."
System,command,RTE,811,"RTE [info [, ...]]","Creates a Run-Time-Error. The parameters will be displayed on error-line."
System,command,STKDUMP,812,"STKDUMP","Display internal execution stack."
System,command,TROFF,813,"TROFF","See TRON."
System,command,TRON,814,"TRON","When trace mechanism is ON, displays each line number as the program is executed."
System,function,ENV,815,"ENV expr","See ENVIRON."
System,function,ENVIRON,816,"ENVIRON expr","Returns the value of a specified entry in the current environment table. If the parameter is empty ("") then returns an array of the environment variables (in var=value form)."
System,function,PROGLINE,817,"PROGLINE","Returns the current program line number."
System,function,RUN,818,"RUN cmdstr","Loads a secondary copy of system's shell and, executes an program, or an shell command."
System,function,TICKS,819,"TICKS","Returns the system-ticks. The tick value is depended on operating system."
System,function,TICKSPERSEC,820,"TICKSPERSEC","Returns the number of ticks per second."
System,function,TIMER,821,"TIMER","Returns the number of seconds from midnight."
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.