PANORAMIC : REFERENCE MANUAL

MAIN PAGE

 

Reference

  • CHAIN F : loads the source file F then executes it
  • DATA : statement containing a stream of constants, to be used by "READ"
  • DIM V : defines one or several variables
  • DIM_LOCAL V : defines one or several variables inside a subroutine
  • DISPLAY : freezes the program execution to update the screen
  • END : ends the main program
  • ERROR_ENGLISH : chooses English as error description language
  • ERROR_FRENCH : chooses French as error description language
  • ERROR_LINE : returns the error line number
  • ERROR_NUMBER : returns the error number
  • ERROR_TYPE$ : returns the error type
  • FREE V : releases the variable V
  • GOSUB L : jumps to the subroutine which begins by "L:"
  • GOTO L : jumps to the part of program which begins by "L:"
  • LABEL L : defines one or several "marks" in the program
  • LABEL(V) : returns 1 if V represents an existing LABEL, 0 otherwise
  • NUMBER_CURRENT_LINE : returns the number of current line
  • NUMBER_VARIABLES : returns the number of variables
  • OFF_ERROR_GOTO : cancels the command ON_ERROR_GOTO
  • ON_ERROR_GOTO L : if error, jumps to the part of program which begins by "L:"
  • PARAM_NUMBER : returns the number of parameters passed to the application
  • PARAM_VALUE$(N) : returns the Nth parameter passed to the application
  • PEEK(A) : returns the content (byte from 0 to 255) of address A
  • POKE A,V : places the value V (byte from 0 to 255) at address A
  • PRINT E : writes the expression E inside a system object
  • PRINT_LOCATE X,Y : defines the position in X and Y of the next printing by the command print
  • PRINT_X_LOCATE X : defines the position in X of the next printing by the command print
  • PRINT_Y_LOCATE Y : defines the position in Y of the next printing by the command print
  • READ V : assigns to the variable V the value found in a "data" statement
  • REM C : allows the comment C
  • RESTORE : forces to read values from the first "DATA" statement
  • RETURN : ends a subroutine
  • STOP : stops the program execution and displays a window to be acknowledged
  • TERMINATE : stops definitively the program execution and frees the memory
  • TRACE_OFF : stops the mode trace and closes the text file
  • TRACE_ON F : starts the mode trace and creates the text file F
  • VARIABLE(V) : returns 1 if V$ represents a defined variable, 0 otherwise
  • Structures

  • AND : performs a logical "and" between two logical expressions
  • CASE V : presents a group of statements to be executed if the expression evaluated by "SELECT" matches the value V
  • ELSE : executes the next statement or the next block of statements if the condition is false
  • END_IF : ends the statement or the block of statements to be executed from the command "IF"
  • END_SELECT : ends a structure initiated by "SELECT"
  • END_SUB : ends a subroutine
  • END_WHILE : ends the statement or the block of statements to be executed from the command "WHILE"
  • EXIT_FOR : in a loop FOR/NEXT, jumps to the statement just after NEXT
  • EXIT_REPEAT : in a loop REPEAT/UNTIL, jumps to the statement just after UNTIL
  • EXIT_SUB : quits a subroutine whithout executing END_SUB
  • EXIT_WHILE : in a loop WHILE/END_WHILE, jumps to the statement just after END_WHILE
  • FOR V=S TO E : begins a loop with the variable V used as counter from S to E
  • IF C : executes the next statement or the next block of statements if the condition C is true
  • NEXT V : ends a loop "FOR" which uses the variable V as a counter
  • NOT : performs the logical negation of a logical expression
  • OR : performs a logical "or" between two logical expressions
  • REPEAT : executes the next statement or the next block of statements to the "UNTIL" command
  • SELECT E : evaluates the expression E and executes after the CASE statement which matches the value
  • (FOR V=S TO E) STEP T : defines the step of a loop "for"
  • SUB T : begins the subroutine T
  • THEN : executes the next statement or the next block of statements if the condition C is true
  • (FOR V=S) TO E : defines the end value of the variable V in a loop "FOR"
  • UNTIL C : executes again the statement or the block of statements from REPEAT until the condition C is true
  • WHILE C : executes the next statement or the next block of statements until END_WHILE while the condition C is true
  • Mathematics

  • ABS(V) : returns the absolute value of V
  • ACOS(V) : returns the inverse cosine (arccosine) of V
  • ADR(V) : returns the address of the variable V
  • ASIN(V) : returns the inverse sine (arcsine) of V
  • ATN(V) : returns the inverse tangent of V
  • BIN_AND(V1,V2) : returns the binary logical "and" between the values V1 and V2
  • BIN_OR(V1,V2) : returns the binary logical "or" between the values V1 and V2
  • BIN_XOR(V1,V2) : returns the binary logical "exclusive or" between the values V1 and V2
  • COS(V) : returns the cosine of V
  • EVEN(V) : returns 1 if V is even, 0 otherwise
  • EXP(V) : returns the value of e raised to the power of V
  • FRAC(V) : returns the fractional value of V
  • HCOS(V) : returns the hyperbolic cosine of V
  • HEX$(V) : returns a hexadecimal value from a decimal value V
  • HEX(V) : returns a decimal value from a hexadecimal value V
  • HSIN(V) : returns the hyperbolic sine of V
  • HTAN(V) : returns the hyperbolic tangent of V
  • INT(V) : returns the integer value of V
  • LOG(V) : returns the natural logarithm of V
  • LOG10(V) : returns the common logarithm of V
  • LOG2(V) : returns the logarithm base 2 of V
  • MAX(X,Y) : returns the greater of X and Y
  • MIN(X,Y) : returns the lesser of X and Y
  • MOD(X,Y) : returns the modulo of X and Y
  • NUMERIC(V) : returns 1 if V$ represents a numeric value, 0 otherwise
  • ODD(V) : returns 1 if V is odd, 0 otherwise
  • POWER(X,Y) : returns the value of X raised to the power of Y
  • RND(V) : returns a random value between 0 and V
  • SGN(V) : returns the sign of V
  • SIN(V) : returns the sine of V
  • SQR(V) : returns the square root of V
  • TAN(V) : returns the tangent of V
  • WRAP_VALUE(A) : returns a value that wraps the angle A between 0 and 360
  • Strings

  • ASC(S) : returns the ASCII code of the first character of string S
  • CHR$(N) : returns the character corresponding to the ASCII code N
  • INSERT$(S1,S2,P) : returns a string made with S2 inserted into S1 in position P
  • INSTR(S1,S2) : returns the position in S1 of the first character of S2 if the string S1 contains the string S2
  • INSTR_POS(S,C,P) : returns the position of string C in the string S from position P
  • LEFT$(S,N) : returns the N first characters of the string S
  • LEN(S) : returns the number of characters of the string S
  • LOWER$(S) : returns the string converting string S to lowercase
  • LTRIM$(S) : returns the string removing leading spaces from the string S (on the left)
  • MID$(S,P,N) : returns the N characters of the string S from the position P
  • REVERSE$(S) : returns the string S with reversed character order
  • RIGHT$(S,N) : returns the N last characters of the string S
  • RIGHT_POS$(S,P) : returns a string made with string S from position P
  • RTRIM$(S) : returns the string removing trailing spaces from the string S (on the right)
  • STR$(V) : returns the string corresponding to the number V
  • STRING$(N,C) : returns the string composed of N times the character C
  • TRIM$(S) : returns the string removing leading and trailing spaces from the string S
  • UPPER$(S) : returns the string converting string S to uppercase
  • VAL(S) : returns the number corresponding to the string S
  • Files

  • FILE_ARCHIVE F : sets the attribute "archive" of the file F
  • FILE_ARCHIVE_OFF F : cancels the attribute "archive" of the file F
  • FILE_COPY F1,F2 : copies the existing file F1 to the new file F2
  • FILE_DELETE F : deletes the file F
  • FILE_EXISTS(F) : returns 1 if the file F exists, 0 otherwise
  • FILE_EXTRACT_DISK$(F) : returns a disk name from F
  • FILE_EXTRACT_EXTENSION$(F) : returns a file extension from F
  • FILE_EXTRACT_NAME$(F) : returns a file name from F
  • FILE_EXTRACT_PATH$(F) : returns a file path from F
  • FILE_FIND_CLOSE : end the actions FILE_FIND_FIRST$ and FILE_FIND_NEXT$ on the current directory
  • FILE_FIND_FIRST$ : returns the name of the first file of the current directory
  • FILE_FIND_NEXT$ : returns the name of the next file of the current directory
  • FILE_HIDE F : sets the attribute "hide" of the file F
  • FILE_HIDE_OFF F : cancels the attribute "hide" of the file F
  • FILE_MOVE F1,F2 : moves the existing file F1 to the new file F2
  • FILE_READ_ONLY F : sets the attribute "read only" of the file F
  • FILE_READ_ONLY_OFF F : cancels the attribute "read only" of the file F
  • FILE_RENAME F1,F2 : gives to the file F1 the new name F2
  • FILE_SYSTEM F : sets the attribute "system" of the file F
  • FILE_SYSTEM_OFF F : cancels the attribute "system" of the file F
  • Directory

  • DIR_CHANGE D : the current directory becomes the directory D
  • DIR_CURRENT$ : returns the current directory
  • DIR_EXISTS(D) : returns 1 if the directory D exists, 0 otherwise
  • DIR_MAKE D : creates the directory D
  • DIR_REMOVE D : removes the empty directory D
  • RMDIR D : removes the empty directory D
  • Text Files

  • FILE_CLOSE N : closes the text file number N
  • FILE_EOF(N) : returns 1 if the current position is beyond the last character of the text file number N, 0 otherwise
  • FILE_OPEN_APPEND N,S : opens a text file to write after its last line, with number N and name S
  • FILE_OPEN_READ N,S : opens a text file to be read, with number N and name S
  • FILE_OPEN_WRITE N,S : creates a text file to write, with number N and the name S
  • FILE_READ N,V : reads the text file number N to the next separator and stores the content into variable V
  • FILE_READBUF N,V,C : reads C characters of the text file number N and stores them into variable V
  • FILE_READLN N,V : reads the current line of the text file number N and stores it into variable S
  • FILE_READLN$(N) : returns the current line of the text file number N
  • FILE_WRITE N,S : writes the data S to the text file number N
  • FILE_WRITEBUF N,E,C : writes C characters of the expression E to the text file number N
  • FILE_WRITELN N,S : writes the line S to the text file number N
  • Binary Files

  • FILEBIN_BLOCK_READ N,C,V%(P) : reads C bytes from the binary file number N and stores the values to the array V% from index P
  • FILEBIN_BLOCK_WRITE N,C,V%(P) : writes C bytes to the binary file number N, data to be written are in the array V% from index P
  • FILEBIN_CLOSE N : closes the binary file number N
  • FILEBIN_HEXA_READ N,C,V$ : reads C bytes from the binary file number N and stores the values to the variable V
  • FILEBIN_HEXA_READ$(N,C) : returns C bytes read from the binary file number N
  • FILEBIN_HEXA_WRITE N,C,S : writes C bytes to the binary file number N, data to be written are in the string expression S
  • FILEBIN_OPEN_READ N,S : opens a binary file for reading, with number N and name S
  • FILEBIN_OPEN_WRITE N,S : creates a binary file for writing, with number N and the name S
  • FILEBIN_POS(N) : returns the current position in the binary file number N
  • FILEBIN_POSITION N,P : changes the current position in the binary file number N
  • FILEBIN_READ N,V : reads one byte from the binary file number N and stores its value to variable V
  • FILEBIN_READ(N) : returns one byte read from the binary file number N
  • FILEBIN_SIZE(N) : returns the size of the binary file number N
  • FILEBIN_WRITE N,E : writes one byte E to the binary file number N
  • Font

  • FONT_BOLD N : adds the style "bold" to the style of the system object number N
  • FONT_BOLD_OFF N : removes the style "bold" to the style of the system object number N
  • FONT_COLOR N,R,G,B : set the color of characters displayed by the system object number N
  • FONT_ITALIC N : adds the style "italic" to the style of the system object number N
  • FONT_ITALIC_OFF N : removes the style "italic" to the style of the system object number N
  • FONT_NAME N,S : set the font for the characters displayed by the system object number N
  • FONT_NAMES_ADD N : adds the list of available fonts to the system object number N
  • FONT_NAMES_LOAD N : fills the system object number N with the list of the available fonts
  • FONT_SIZE N,S : set the size of characters displayed by the system object number N
  • FONT_STRIKE N : adds the style "stroke out" to the style of the system object number N
  • FONT_STRIKE_OFF N : removes the style "stroke out" to the style of the system object number N
  • FONT_UNDERLINE N : adds the style "underlined" to the style of the system object number N
  • FONT_UNDERLINE_OFF N : removes the style "underlined" to the style of the system object number N
  • Mouse

  • MOUSE_LEFT_DOWN(N) : returns 1 if mouse left button is pressed on the system object number N, 0 otherwise
  • MOUSE_LEFT_UP(N) : returns 1 if mouse left button is released on the system object number N, 0 otherwise
  • MOUSE_RIGHT_DOWN(N) : returns 1 if mouse right button is pressed on the system object number N, 0 otherwise
  • MOUSE_RIGHT_UP(N) : returns 1 if mouse right button is released on the system object number N, 0 otherwise
  • MOUSE_X_LEFT_DOWN(N) : returns mouse x-position when left button of mouse is pressed on the system object number N
  • MOUSE_X_LEFT_UP(N) : returns mouse x-position when left button of mouse is released on the system object number N
  • MOUSE_X_POSITION(N) : returns mouse x-position on the system object number N
  • MOUSE_X_RIGHT_DOWN(N) : returns mouse x-position when right button of mouse is pressed on the system object number N
  • MOUSE_X_RIGHT_UP(N) : returns mouse x-position when right button of mouse is released on the system object number N
  • MOUSE_Y_LEFT_DOWN(N) : returns mouse y-position when left button of mouse is pressed on the system object number N
  • MOUSE_Y_LEFT_UP(N) : returns mouse y-position when left button of mouse is released on the system object number N
  • MOUSE_Y_POSITION(N) : returns mouse x-position on the system object number N
  • MOUSE_Y_RIGHT_DOWN(N) : returns mouse y-position when right button of mouse is pressed on the system object number N
  • MOUSE_Y_RIGHT_UP(N) : returns mouse y-position when right button of mouse is released on the system object number N
  • System

  • 2D_TARGET_IS N : designates the system object number N (FORM or PICTURE) as receiver of the "2D" commands
  • 3D_TARGET_IS N : designates the SCENE3D object number N as receiver of "3D" commands
  • APPLICATION_TITLE T : set a title to the application and to the MESSAGE windows
  • ARCHIVER_ADD D,F : archives the files of directory D to file F
  • ARCHIVER_EXTRACT F,D : extracts the archive file F to directory D
  • ARCHIVER_OFF : stops archiver
  • ARCHIVER_ON : starts archiver
  • BEEP : generatees a brief sound
  • BEEP_ERROR : generates the error system sound
  • BEEP_EXCLAMATION : generates the exclamation system sound
  • BEEP_INFORMATION : generates the information system sound
  • BEEP_QUESTION : generates the question system sound
  • CLIPBOARD_COPY N : copy to the clipboard the selected text or the picture from the system object number N
  • CLIPBOARD_CUT N : copy to the clipboard then clear the selected text of the system object number N (MEMO)
  • CLIPBOARD_PASTE N : pastes the text or the picture from the clipboard to the system object number N
  • CLIPBOARD_STRING_COPY S : copy to the clipboard the string expression S
  • CLIPBOARD_STRING_PASTE$ : returns the text of the clipboard
  • DATE$ : returns the current date
  • DISK_EXISTS(D) : returns 1 if the disk D exists, 0 otherwise
  • DISK_KILO_FREE(D) : returns the number of available kilo-bytes on the disk D
  • DISK_KILO_SIZE(D) : returns the size of disk D in kilo-bytes
  • EXECUTE F [Pi] : executes the file F with parameters in option
  • EXECUTE_WAIT F [Pi] : executes the file F with parameters in option and waits for the end
  • HANDLE(N) : returns the handle of the system object number N
  • HANDLE_CANVAS(N) : returns the handle of the graphic area of the system object number N
  • HANDLE_FORM(T) : returns the handle of a FORM (PANORAMIC or not) the title (caption) of which is known
  • INKEY$ : reads a key of the keyboard
  • INPUT V : reads keys from keyboard or characters of a system object and assigns them to the variable V
  • INPUT_MARK_OFF : does not display an interrogation mark when a command INPUT is executed
  • INPUT_MARK_ON : displays an interrogation mark when a command INPUT is executed
  • INPUT_REDO_OFF : does not execute again the command INPUT if no read value
  • INPUT_REDO_ON : executes again the command INPUT if no read value
  • INPUT_SOURCE_IS N : designates the system object number N as source of data
  • INPUT_VISIBLE_OFF : does not display the stroke keys when a command INPUT is executed
  • INPUT_VISIBLE_ON : displays the stroke keys when a command INPUT is executed
  • NUMBER_2D_TARGET : returns the system object number which is the 2D commands "target"
  • NUMBER_3D_TARGET : returns the system object number which is the 3D commands "target"
  • NUMBER_COMMAND_TARGET : returns the system object number which is the commands "target"
  • NUMBER_INPUT_SOURCE : returns the system object number which is the input "source"
  • NUMBER_PRINT_TARGET : returns the system object number which is the print "target"
  • NUMBER_SPRITE_TARGET : returns the system object number which is the SPRITE commands "target"
  • PAUSE N : waits for N milliseconds, but the program remains active
  • PRINT_TARGET_IS N : designates the system object number N as the receiver of the "PRINT" commands
  • SCANCODE : returns the code of the key currently pressed (of the keyboard or of the mouse)
  • SCREEN_X : returns the screen width in pixels
  • SCREEN_Y : returns the screen height in pixels
  • SEPARATOR_IS_COMMA : decimal separator for floating number is comma
  • SEPARATOR_IS_POINT : decimal separator for floating number is point
  • SET_FOCUS N : gives the focus to the system object number N
  • TIME$ : returns the current time
  • WAIT N : waits for N milliseconds
  • Events

  • KEY_DOWN_CODE : returns the code of the key the user is pressing
  • KEY_DOWN_SPECIAL : returns the code of the special key the user is pressing
  • KEY_UP_CODE : returns the code of the key the user is releasing
  • KEY_UP_SPECIAL : returns the code of the special key the user is releasing
  • NUMBER_CHANGE : returns the number of the last changed object
  • NUMBER_CLICK : returns the number of the last clicked object
  • NUMBER_DOUBLE_CLICK : returns the number of the last double-clicked system object
  • NUMBER_EVENTS : returns the number of waiting events
  • NUMBER_KEY_DOWN : returns the number of the last object on which a key is pressed
  • NUMBER_KEY_UP : returns the number of the last object on which a key is released
  • OFF_ACTIVATE N : ignores the event "activate" when the system object number N (FORM) is activated
  • OFF_CHANGE N : ignores the event "change" when the system object number N changes
  • OFF_CLICK N : ignores the event "click" when the system object number N is clicked
  • OFF_CLOSE N : ignores the event handler "close" when the system object number N (FORM) is closed
  • OFF_DOUBLE_CLICK N : ignores the event "double click" when the system object number N is double-clicked
  • OFF_KEY_DOWN N : ignores the event "key_down" when the user presses any key while the system object number has focus
  • OFF_KEY_UP N : ignores the event "key_up" when the user releases any key while the system object number has focus
  • OFF_SHOW N : ignores the event "show" when the system object number N (FORM) is shown
  • ON_ACTIVATE N,L : executes the program from label L when the system object number N (FORM) is activated
  • ON_CHANGE N,L : executes the program from label L when the system object number N has "changed"
  • ON_CLICK N,L : executes the program from label L when the system object number N is clicked
  • ON_CLOSE N,L : executes the program from label L before the system object number N (FORM) is closed
  • ON_DOUBLE_CLICK N,L : executes the program from label L when the system object number N is double-clicked
  • ON_KEY_DOWN N,L : executes the program from label L when the user presses any key while the system object number has focus
  • ON_KEY_UP N,L : executes the program from label L when the user releases any key while the system object number has focus
  • ON_SHOW N,L : executes the program from label L when the system object number N (FORM) is shown
  • ON_TIMER N,L : executes the program from label L when the system object number N triggers
  • Messages

  • MESSAGE T : displays a window with a text to be acknowledged
  • MESSAGE_CONFIRMATION_OK(T) : displays a window with a text, an interrogation mark and a button
  • MESSAGE_CONFIRMATION_YES_NO(T) : displays a window with a text, an interrogation mark and two buttons
  • MESSAGE_ERROR_OK(T) : displays a window with a text, a red error sign and a button
  • MESSAGE_ERROR_YES_NO(T) : displays a window with a text, a red error sign and two buttons
  • MESSAGE_INFORMATION_OK(T) : displays a window with a text, a big "I" and a button
  • MESSAGE_INFORMATION_YES_NO(T) : displays a window with a text, a big "I" and two buttons
  • MESSAGE_INPUT$(T1,T2,T3) : displays a window with caption T1, an ALPHA with caption T2, an EDIT displaying T3 and two buttons
  • MESSAGE_INPUT(T1,T2,T3) : displays a window with caption T1, an ALPHA with caption T2, an EDIT displaying T3 and two buttons
  • MESSAGE_TEXT$ : contains the text of EDIT of MESSAGE_INPUT()
  • MESSAGE_WARNING_OK(T) : displays a window with a text, an exclamation point symbol and a button
  • MESSAGE_WARNING_YES_NO(T) : displays a window with a text, an exclamation point symbol and two buttons
  • MIDI

  • MIDI_INSTRUMENT N : the used MIDI instrument is the instrument number N
  • MIDI_OFF : stops using individual notes to the MIDI output
  • MIDI_ON : starts using individual notes to the MIDI output
  • MIDI_PLAY N,T : plays the note N of type T to the MIDI output
  • MIDI_VOLUME V : changes the volume of notes played to the MIDI output
  • System Objects

  • ACTIVE N : makes active the system object number N
  • ACTIVE(N) : returns 1 if the system object number N is active, 0 otherwise
  • AXES_HIDE : makes invisible the 3D axes of the 3D target object (SCENE3D)
  • AXES_SHOW : makes visible the 3D axes of the 3D target object (SCENE3D)
  • BAR_BOTH N : assigns two horizontal and vertical scroll bars to the system object number N (MEMO)
  • BAR_HORIZONTAL N : assigns an horizontal scroll bar to the system object number N (MEMO)
  • BAR_NONE N : removes all the (horizontal and vertical) scroll bars to the system object number N (MEMO)
  • BAR_VERTICAL N : assigns a vertical scroll bar to the system object number N (MEMO)
  • BORDER_HIDE N : hides the border of the system object number N (FORM)
  • BORDER_NORMAL N : shows the normal border of the system object number N (FORM)
  • BORDER_SMALL N : shows the border of the system object number N (FORM) with a reduced size
  • BRIGHTNESS N,V : changes the brightness of the system object number N (PICTURE)
  • CAPTION N,T : set the text T as the caption of the system object number N
  • CAPTION$(N) : returns the caption of the system object number N
  • CARET_POSITION N,P : put the caret of the system object number N at the position P
  • CARET_POSITION(N) : returns the caret position of the system object number N
  • CHECKED(N) : returns the state of the system object number N (checked/activated)
  • CLEAR N : clears the content of the system object number N
  • CLICKED(N) : returns 1 if the system object number N is clicked, 0 otherwise
  • COLOR N,R,G,B : set the color of the system object number N (Red,Green,Blue)
  • COLOR_PIXEL_BLUE(N,X,Y) : returns the blue primary component of a pixel in the system object number N
  • COLOR_PIXEL_GREEN(N,X,Y) : returns the green primary component of a pixel in the system object number N
  • COLOR_PIXEL_RED(N,X,Y) : returns the red primary component of a pixel in the system object number N
  • COMMAND_TARGET_IS N : designates the system object number N as receiver of commands
  • CONTRAST N,V : changes the contrast of the system object number N (PICTURE)
  • COUNT(N) : returns the number of items of the system object number N
  • CURSOR_ARROW N : displays an arrow-shaped cursor on the system object number N
  • CURSOR_BEAM N : displays a capital I-shaped cursor on the system object number N
  • CURSOR_CROSS N : displays a cross-shaped cursor on the system object number N
  • CURSOR_DEFAULT N : displays the cursor by default on the system object number N
  • CURSOR_HELP N : displays an interrogation mark-shaped cursor on the system object number N
  • CURSOR_HIDE N : hides the cursor on the system object number N
  • CURSOR_HOURGLASS N : displays an hourglass-shaped cursor on the system object number N
  • CURSOR_NOPARKING N : displays a no parking sign-shaped cursor on the system object number N
  • CURSOR_POINT N : displays an hand-shaped cursor on the system object number N
  • DELETE N : deletes the system object number N
  • DIR_DIALOG N,D : the current directory of the system object number N becomes the directory D
  • DOUBLE_CLICKED(N) : returns 1 if the system object number N is double-clicked, 0 otherwise
  • FILE_ADD N,F : adds the content of file F to the system object number N
  • FILE_LOAD N,F : fills the system object number N with the content of file F
  • FILE_NAME$(N) : returns the file name given by the system object number N (OPEN_DIALOG or SAVE_DIALOG)
  • FILE_SAVE N,F : saves the content of the system object number N into the file F
  • FILTER N, T : set the filter T (type of file and comment) applied by the system object number N
  • FULL_SPACE N : the system object number N takes all the available space
  • GAMMA N,V : changes the gamma of the system object number N (PICTURE)
  • GRID_CLEAR N,R,C : clears cells of GRID number N from row 1 to R and from column 1 to C
  • GRID_COLUMN N,C : set the number of columns of the GRID number N
  • GRID_COLUMN_DELETE N,C : deletes column C in GRID number N
  • GRID_COLUMN_FIXED N,F : set the number of fixed columns of the GRID number N
  • GRID_COLUMN_INSERT N,C : inserts column C in GRID number N
  • GRID_COLUMN_SIZING_OFF N : the columns of the GRID number N cannot be manually resized
  • GRID_COLUMN_SIZING_ON N : the columns of the GRID number N can be manually resized
  • GRID_COLUMN_WIDTH N,W : set the column width of the GRID number N
  • GRID_FIXED_COLOR N,R,G,B : set the fixed part color of the GRID number N
  • GRID_LOAD N,F : loads the file F into the GRID number N
  • GRID_ONE_COLUMN_WIDTH N,C,V : set the width of the column number C at V pixels in the GRID number N
  • GRID_ONE_ROW_HEIGHT N,R,V : set the height of the row number R at V pixels in the GRID number N
  • GRID_READ$(N,R,C) : returns the content of the cell (R,C) of the GRID number N
  • GRID_ROW N,R : set the number of rows of the GRID number N
  • GRID_ROW_DELETE N,R : deletes row R in GRID number N
  • GRID_ROW_FIXED N,F : set the number of fixed rows of the GRID number N
  • GRID_ROW_HEIGHT N,H : set the row height of the GRID number N
  • GRID_ROW_INSERT N,R : inserts row R in GRID number N
  • GRID_ROW_SIZING_OFF N : the rows of the GRID number N cannot be manually resized
  • GRID_ROW_SIZING_ON N : the rows of the GRID number N can be manually resized
  • GRID_SAVE N,R,C,F : saves the GRID number N into the file F, from row 1 to R and from column 1 to C
  • GRID_WRITE N,R,C,S : writes the value of S into the cell (R,C) of the GRID number N
  • GRID_X_TO_COLUMN(N,X) : returns the column number of the GRID number N from the coordinate X
  • GRID_Y_TO_ROW(N,Y) : returns the row number of the GRID number N from the coordinate Y
  • HEIGHT N,V : set the height of the system object number N to V pixels
  • HEIGHT(N) : returns the height in pixels of the system object number N
  • HIDE N : makes invisible the system object number N
  • HIDE(N) : returns 1 if the system object number N is hidden, 0 otherwise
  • HINT N,T : set the hint text T of the system object number N
  • HINT_HIDE N : disables the hint text of the system object number N
  • HORIZONTAL N : put the bar of the system object number N in horizontal position
  • INACTIVE N : makes inactive the system object number N
  • INACTIVE(N) : returns 1 if the system object number N is not active, 0 otherwise
  • ITEM_ADD N,T : adds the item T to the system object number N
  • ITEM_DELETE N,L : deletes the item at line L of the system object number N
  • ITEM_INDEX$(N) : returns the selected item of the system object number N
  • ITEM_INDEX(N) : returns the index of selected item of the system object number N
  • ITEM_INSERT N,L,T : inserts the item T after the line L in the system object number N
  • ITEM_READ$(N,L) : returns the item number L of the system object number N
  • LEFT N,V : positions the left edge of the system object number N to V pixels from its parent
  • LEFT(N) : returns the number of pixels between the left edge of the system object number N and its parent
  • MARK_OFF N : unchecks the system object number N
  • MARK_ON N : checks/activates the system object number N
  • MAX N,V : set the maximum value V of the system object number N
  • MAXIMIZE N : maximizes the size of FORM number N
  • MIN N,V : set the minimum value V of the system object number N
  • MINIMIZE N : minimizes the size of FORM number N
  • NORMAL N : comes back to the normal size of FORM number N
  • NUMBER_ACTIVATE : number of last activated system object (FORM)
  • NUMBER_OBJECTS : returns the number of system objects
  • NUMBER_SHOW : number of last visible system object (FORM or TAB)
  • OBJECT_EXISTS(N) : returns 1 if the system object number N exists, 0 otherwise
  • OBJECT_INTERNAL(N) : returns an internal number generated when the system object number N is created
  • OBJECT_PARENT(N) : returns the parent number of the system object number N
  • OBJECT_TYPE(N) : returns the type of the system object number N
  • PARENT N,M : set the system object number M as the father of the system object number N
  • PLAY N : plays the content of the system object number N (SOUND or MOVIE)
  • PLAY_WAIT N : plays the content of the system object number N (SOUND or MOVIE) and waits for the end
  • POSITION N,V : set the position of cursor of the system object number N
  • POSITION(N) : returns the position of the cursor of the bar number N
  • SECRET_OFF N : the system object number N displays its text clearly
  • SECRET_ON N : the system object number N displays its text as stars
  • SELECT_READ$(N) : returns the selected text of the system object number N
  • SELECT_TEXT N,P,C : selects C characters from position P in the system object number N
  • SHOW N : makes visible the system object number N
  • SHOW(N) : returns 1 if the system object number N is visible, 0 otherwise
  • SORT N : sorts the content of the system object number N
  • SORT_OFF N : stops the automatic sort of the system object number N
  • SORT_ON N : starts the automatic sort of the system object number N
  • STRETCH_OFF N : stops the automatic resizing of the picture displayed by the system object number N
  • STRETCH_ON N : starts the automatic resizing of the picture displayed by the system object number N
  • TEXT N,T : set the text T to be displayed by the system object number N
  • TEXT$(N) : returns the text displayed by the system object number N
  • TEXT_HEIGHT(T,N) : returns the height of the text T if it is displayed by the system object number N
  • TEXT_WIDTH(T,N) : returns the width of the text T if it is displayed by the system object number N
  • TIMER_INTERVAL N,P : changes the triggering period of the system object TIMER number N
  • TIMER_OFF N : makes inactive the system object TIMER number N
  • TIMER_OFF_ALL : makes inactive all the system objects of type TIMER
  • TIMER_ON N : makes active the system object TIMER number N
  • TO_BACKGROUND N : sends the system object number N (FORM) to background
  • TO_FOREGROUND N : brings the system object number N (FORM) to foreground
  • TOP N,V : positions the top edge of the system object number N at V pixels of its parent
  • TOP(N) : returns the number of pixels between the top edge of the system object number N and its parent
  • TRIGGER_CLICK N : simulates the event ON_CLICK on the system object number N
  • VERTICAL N : put the system object number N in vertical position
  • WIDTH N,V : set the width of the system object number N to V pixels
  • WIDTH(N) : returns the width in pixels of the system object number N
  • Drawing

  • 2D_CIRCLE X,Y,R : draws a circle of center (X,Y) and of radius R
  • 2D_CLEAR : clears the background of the "2D target" system object
  • 2D_FILL_COLOR R,G,B : set the filling color of shapes 2D_CIRCLE and 2D_RECTANGLE
  • 2D_FILL_CROSS : set the filling pattern of figures: crossed lines
  • 2D_FILL_DIAGONAL_CROSS : set the filling pattern of figures: diagonal crossed lines
  • 2D_FILL_DIAGONAL_DOWN : set the filling pattern of figures: diagonal down lines
  • 2D_FILL_DIAGONAL_UP : set the filling pattern of figures: diagonal up lines
  • 2D_FILL_HORIZONTAL : set the filling pattern of figures: horizontal lines
  • 2D_FILL_OFF : the future shapes 2D_CIRCLE and 2D_RECTANGLE will be transparent
  • 2D_FILL_ON : the future shapes 2D_CIRCLE and 2D_RECTANGLE will be filled with the color defined by 2D_FILL_COLOR
  • 2D_FILL_SOLID : set the filling pattern of figures: solid
  • 2D_FILL_VERTICAL : set the filling pattern of figures: vertical lines
  • 2D_FLOOD X,Y,R,G,B : paints a surface from a point
  • 2D_IMAGE_COPY N,X1,Y1,X2,Y2 : copies the area defined by the points (X1,Y1) and (X2,Y2) to the IMAGE number N
  • 2D_IMAGE_PASTE N,X,Y : pastes the picture from the IMAGE number N to the point (X,Y)
  • 2D_LINE X1,Y1,X2,Y2 : draws a line between the points (X1,Y1) and (X2,Y2)
  • 2D_PEN_COLOR R,G,B : set the drawing color (pen)
  • 2D_PEN_DASH : set the drawing style (pen): series of dashes
  • 2D_PEN_DASH_DOT : set the drawing style (pen): alternating dashes and dots
  • 2D_PEN_DASH_DOT_DOT : set the drawing style (pen): series of dash-dot-dot combinations
  • 2D_PEN_DOT : set the drawing style (pen): series of dots
  • 2D_PEN_SOLID : set the drawing style (pen): solid
  • 2D_PEN_WIDTH W : set the drawing width (pen)
  • 2D_POINT X,Y : draws the point (X,Y)
  • 2D_POLY_FROM X,Y : set the current position to draw a line or a polyline
  • 2D_POLY_TO X,Y : draws a line from the current position to (X,Y), then (X,Y) becomes the current position
  • 2D_RECTANGLE X1,Y1,X2,Y2 : draws a rectangle between the 2 points (X1,Y1) and (X2,Y2)
  • CLS : clears the background of the "2D target" system object (same than 2D_CLEAR)
  • 3D Objects

  • 3D_ACTOR N : creates an actor (MD2 formatted 3D object) and gives it the number N as reference
  • 3D_BOX N,W,H,D : creates a box with width W, height H and depth D, and gives it the number N as reference
  • 3D_CHAIN N,P : chains the 3D object number N to the 3D object number P
  • 3D_CHAIN_BREAK N,P : breaks the chain of the 3D object number N to the 3D object number P
  • 3D_COLLISION_AS_CUBE N : for the collisions, the 3d object number N is defined by its bounding cube
  • 3D_COLLISION_AS_ELLIPSOID N : for the collisions, the 3d object number N is defined by its bounding ellipsoid
  • 3D_COLLISION_AS_FACES N : for the collisions, the 3d object number N uses its faces
  • 3D_COLLISION_AS_POINT N : for the collisions, the 3d object number N is a point
  • 3D_COLLISION_AS_SPHERE N : for the collisions, the 3d object number N is defined by its bounding sphere
  • 3D_COLOR N,R,G,B : set the color of the 3D object number N
  • 3D_CONE N,H,R : creates a CONE with height H and radius R and gives it the number N as reference
  • 3D_CUBE N,S : creates a CUBE with side S, and gives it the number N as reference
  • 3D_CYLINDER N,H,TR,LR : creates a CYLINDER with height H, radius of the top side TR, radius of the low side LR, and gives it the number N as reference
  • 3D_DELETE N : deletes the 3D object number N
  • 3D_DELETE_ALL : deletes all the 3D objects
  • 3D_DODECAHEDRON N : creates a DODECAHEDRON and gives it the number N as reference
  • 3D_HIDE N : makes invisible the 3D object number N
  • 3D_IMAGE_TEXTURE N1,N2 : applies to the 3D object number N1 the texture from the IMAGE object number N2
  • 3D_LINE N,X,Y,Z : creates a 3D LINE from point (X,Y,Z) and gives it the number N as reference, or adds a point (X,Y,Z) to an existing 3D LINE.
  • 3D_LINE_WIDTH N,W : set the width of the 3D_LINE object number N
  • 3D_LOAD_OBJECT N,F : provides the 3D object number N with the structure described in the file F (format MD2 or 3DS)
  • 3D_LOAD_TEXTURE N,F : applies to the 3D object number N the texture in the file F
  • 3D_LOAD_TEXTURE_BACK N,F : applies to the back face of the object 3D_SKYBOX number N the texture in the file F
  • 3D_LOAD_TEXTURE_BOTTOM N,F : applies to the bottom face of the object 3D_SKYBOX number N the texture in the file F
  • 3D_LOAD_TEXTURE_FRONT N,F : applies to the front face of the object 3D_SKYBOX number N the texture in the file F
  • 3D_LOAD_TEXTURE_LEFT N,F : applies to the left face of the object 3D_SKYBOX number N the texture in the file F
  • 3D_LOAD_TEXTURE_RIGHT N,F : applies to the right face of the object 3D_SKYBOX number N the texture in the file F
  • 3D_LOAD_TEXTURE_TOP N,F : applies to the top face of the object 3D_SKYBOX number N the texture in the file F
  • 3D_MESH N : creates a mesh (3DS formatted 3D object), and gives it the number N as reference
  • 3D_MOVE N,D : moves the 3D object number N by the distance D in its pointing direction
  • 3D_PLANE N : creates a plane 3D object and gives it the number N as reference
  • 3D_POINT_OBJECT N,P : points the 3D object number N to the 3D object number P
  • 3D_POSITION N,X,Y,Z : set the position in (X,Y,Z) of the 3D object number N
  • 3D_ROTATE N,X,Y,Z : rotates the 3D object number N around its axes
  • 3D_SCALE N,CX,CY,CZ : shrinks or stretches the 3D object number N along its axes
  • 3D_SHOW N : makes visible the 3D object number N
  • 3D_SKYBOX N : creates a SKYBOX and gives it the number N as reference
  • 3D_SPHERE N,R : creates a SPHERE with radius R, and gives it the number N as reference
  • 3D_TEAPOT N : creates a TEAPOT, and gives it the number N as reference
  • 3D_TEXT N,T : creates a 3D TEXT and gives it the number N as reference
  • 3D_TEXT_CHANGE N,S : changes the text displayed in a 3D text
  • 3D_TORUS N,OR,IR : creates a TORUS with outer radius OR and inner radius IR, and gives it the number N as reference
  • 3D_TRANSPARENT N,T : set the transparency (from 0 to 255) of the 3D object number N
  • 3D_U_TILE N,T : set the tile number on U-coordinate of the 3D_PLANE number N
  • 3D_V_TILE N,T : set the tile number on V-coordinate of the 3D_PLANE number N
  • 3D_X_POSITION N,X : set the X coordinate of the 3D object number N
  • 3D_X_ROTATE N,X : rotates the 3D object number N of X degrees around its X axis
  • 3D_X_SCALE N,CX : shrinks or stretches the 3D object number N of CX along its X axis
  • 3D_Y_POSITION N,Y : set the Y coordinate of the 3D object number N
  • 3D_Y_ROTATE N,Y : rotates the 3D object number N of Y degrees around its Y axis
  • 3D_Y_SCALE N,CY : shrinks or stretches the 3D object number N of CY along its Y axis
  • 3D_Z_POSITION N,Z : set the Z coordinate of the 3D object number N
  • 3D_Z_ROTATE N,Z : rotates the 3D object number N of Z degrees around its Z axis
  • 3D_Z_SCALE N,CZ : shrinks or stretches the 3D object number N of CZ along its Z axis
  • CAM_MOVE N,D : moves the camera by the distance D in its pointing direction
  • CAM_PITCH A : rotates the camera around its X-axis by the angle A (degrees)
  • CAM_POSITION X,Y,Z : set the position of the 3D camera in (X,Y,Z)
  • CAM_ROLL A : rotates the camera around its Z-axis by the angle A (degrees)
  • CAM_TURN A : rotates the camera around its Y-axis by the angle A (degrees)
  • CAM_X_POSITION X : set the X coordinate of the 3D camera
  • CAM_Y_POSITION Y : set the Y coordinate of the 3D camera
  • CAM_Z_POSITION Z : set the Z coordinate of the 3D camera
  • FOG_COLOR R,G,B : set the fog color in the 3D target object (SCENE3D)
  • FOG_DISTANCE_MAX D : set the fog maximum distance in the 3D target object (SCENE3D)
  • FOG_DISTANCE_MIN D : set the fog minimum distance in the 3D target object (SCENE3D)
  • FOG_OFF : stops the fog effect in the 3D target object (SCENE3D)
  • FOG_ON : starts the fog effect in the 3D target object (SCENE3D)
  • LIGHT_POSITION X,Y,Z : set the position in (X,Y,Z) of the 3D light
  • LIGHT_X_POSITION X : set the X coordinate of the 3D light
  • LIGHT_Y_POSITION Y : set the Y coordinate of the 3D light
  • LIGHT_Z_POSITION Z : set the Z coordinate of the 3D light
  • NUMBER_3D_OBJECTS : returns the number of 3D objects
  • O3D_COLLISION(N1,N2) : returns 1 if the 3D objects number N1 and N2 collide, 0 otherwise
  • O3D_OBJECT_EXISTS(N) : returns 1 if the 3D object number N exists, 0 otherwise
  • O3D_OBJECT_TYPE(N) : returns the type of the 3D object number N
  • O3D_X_POSITION(N) : returns the position on X axis of the 3D object number N
  • O3D_X_ROTATE(N) : returns the rotation angle of the 3D object number N around its X axis
  • O3D_X_SCALE(N) : returns the scale factor of the 3D object number N along its X axis
  • O3D_Y_POSITION(N) : returns the position on Y axis of the 3D object number N
  • O3D_Y_ROTATE(N) : returns the rotation angle of the 3D object number N around its Y axis
  • O3D_Y_SCALE(N) : returns the scale factor of the 3D object number N along its Y axis
  • O3D_Z_POSITION(N) : returns the position on Z axis of the 3D object number N
  • O3D_Z_ROTATE(N) : returns the rotation angle of the 3D object number N around its Z axis
  • O3D_Z_SCALE(N) : returns the scale factor of the 3D object number N along its Z axis
  • POINT_OBJECT N : points the camera to the 3D object number N
  • POINT_POSITION X,Y,Z : set the position in (X,Y,Z) of the point aimed by the 3D camera
  • POINT_X_POSITION X : set the X coordinate of the point aimed by the 3D camera
  • POINT_Y_POSITION Y : set the Y coordinate of the point aimed by the 3D camera
  • POINT_Z_POSITION Z : set the Z coordinate of the point aimed by the 3D camera
  • SPRITE

  • NUMBER_SPRITES : returns the number of SPRITES
  • SPRITE N : creates a SPRITE and gives it number N as reference
  • SPRITE_CREATE_HIDE : the next created SPRITEs will not be visible
  • SPRITE_CREATE_SHOW : the next created SPRITEs will be visible
  • SPRITE_DELETE N : deletes the SPRITE number N
  • SPRITE_DELETE_ALL : deletes all the SPRITES
  • SPRITE_EXISTS(N) : returns 1 if the SPRITE number N exists, 0 otherwise
  • SPRITE_FILE_LOAD N,F : loads the picture from the file F (format BMP) to the SPRITE number N
  • SPRITE_HIDE N : makes invisible the SPRITE number N
  • SPRITE_HIDE_ALL : makes invisible all the SPRITEs
  • SPRITE_IMAGE_LOAD N1,N2 : loads the picture from the object number N2 to the SPRITE number N1
  • SPRITE_POSITION N,X,Y : set the X and Y coordinates of the SPRITE number N
  • SPRITE_SCALE N,CX,CY : shrinks or stretches the width and height of the SPRITE number N
  • SPRITE_SHOW N : makes visible the SPRITE number N
  • SPRITE_SHOW_ALL : makes visible all the SPRITEs
  • SPRITE_TARGET_IS N : designates the object number N (SCENE2D) as receiver of SPRITES
  • SPRITE_X_POSITION N,X : set the X coordinate of the SPRITE number N
  • SPRITE_X_POSITION(N) : returns the X coordinate of the SPRITE number N
  • SPRITE_X_SCALE N,CX : shrinks or stretches the width of the SPRITE number N
  • SPRITE_Y_POSITION N,Y : set the Y coordinate of the SPRITE number N
  • SPRITE_Y_POSITION(N) : returns the Y coordinate of the SPRITE number N
  • SPRITE_Y_SCALE N,CY : shrinks or stretches the height of the SPRITE number N
  • Input-Output

  • MAIL_SEND A,S,B : sends an e-mail of subject S and body B to the address A
  • PARALLEL_INP(A) : returns the value read on the parallel port of address A
  • PARALLEL_OFF : stops the input-output operations on parallel port
  • PARALLEL_ON : starts the input-output operations on parallel port
  • PARALLEL_OUT A,D : writes the data D on the parallel port of address A
  • Excel

  • EXCEL_FILE_CLOSE N : closes the file (sheet) number N by Microsoft Excel
  • EXCEL_FILE_NEW N : creates a new file (sheet) and allocates it number N as reference
  • EXCEL_FILE_OPEN N,F : opens the existing file (sheet) F and allocates it number N as reference
  • EXCEL_READ$(C) : reads the content of the cell C of the current sheet with Microsoft Excel
  • EXCEL_START : launches Microsoft Excel
  • EXCEL_STOP : stops Microsoft Excel
  • EXCEL_WRITE S1,S2 : writes S2 into the cell S1 of the current sheet with Microsoft Excel
  • DLL

  • DLL_CALL0(F) : calls the function F of the DLL in memory, without any parameter
  • DLL_CALL1(F,P1) : calls the function F of the DLL in memory, with 1 parameter
  • DLL_CALL2(F,P1,P2) : calls the function F of the DLL in memory, with 2 parameters
  • DLL_CALL3(F,P1,P2,P3) : calls the function F of the DLL in memory, with 3 parameters
  • DLL_CALL4(F,P1,P2,P3,P4) : calls the function F of the DLL in memory, with 4 parameters
  • DLL_CALL5(F,P1,P2,P3,P4,P5) : calls the function F of the DLL in memory, with 5 parameters
  • DLL_CALL6(F,P1,P2,P3,P4,P5,P6) : calls the function F of the DLL in memory, with 6 parameters
  • DLL_OFF : releases the memory used by a DLL
  • DLL_ON D : loads the DLL D to the memory
  • Directives

  • #INCLUDE "F" : includes the file F into the code
  •