Rapid-Q Documentation by William Yu (c)1999-2000, appended by JohnK Appendix C: Internal Variables

Internal Variables

Internal Variables are Read-Only (except SCREEN.CURSOR and SCREEN.CURSORS). When I refer to Unix, I mean Linux & Unix.

VariableSupportTypeDescription




CommandCountWindows UnixINTEGER Number of command line parameters received.
Command$()Windows UnixARRAY Array of commands received (commands are separated by spaces), first element starting at 1. The zero'th element is your application path/name.
CurDir$Windows UnixSTRING Returns the current working directory of your application
IsConsoleWindows UnixINTEGER Returns a non-zero number if application is a console, 0 otherwise.
MouseXWindowsINTEGERReturns X Coordinate of Mouse Pointer relative to your active Form. 
MouseYWindowsINTEGERReturns Y Coordinate of Mouse Pointer relative to your active Form. 
NViewLibPresent
(RapidQ2.inc)
Windows INTEGER IF True then the image library NviewLib.DLL is registered or in the directory. JPG, TGA, and other bitmap formats will be accessed. IF false, BMP format only.
ParamStrCountWindows UnixINTEGER Returns number of String parameters received. This variable is used only inside a SUBI or FUNCTIONI declaration.
ParamStr$()Windows UnixARRAY Used only inside a SUBI or FUNCTIONI declaration. Returns string parameter value, first element starting at 0.
ParamVal()Windows UnixARRAY Used only inside a SUBI or FUNCTIONI declaration. Returns numeric parameter value, first element starting at 0.
ParamValCountWindows UnixINTEGER Returns number of Numeric parameters received. This variable is used only inside a SUBI or FUNCTIONI declaration.
For other Screen internal variables and functions see the SCREEN component documentation with RAPIDQ2.INC
Screen.ConsoleXWindows UnixINTEGER Returns maximum column for console screen, useful under Unix.
Screen.ConsoleYWindows UnixINTEGER Returns maximum row for console screen, useful under Unix.
Screen.CursorWindowsINTEGER Change global mouse pointer of active Form
Screen.CursorsWindowsARRAY of INTEGER R/W array of cursor handles.
Screen.HeightWindowsINTEGER Returns Windows screen Height (not to be confused with Form Height)
Screen.MouseXWindowsINTEGERReturns X Coordinate of Mouse Pointer relative to your screen.
Screen.MouseYWindowsINTEGERReturns Y Coordinate of Mouse Pointer relative to your screen.
Screen.WidthWindowsINTEGER Returns Windows screen Width
Stack.Int()Windows UnixARRAY Returns most current stack integer parameter. First element starting at 0. 
Stack.Str$()Windows UnixARRAY Returns most current stack string parameter. First element starting at 0. 


<- Procedures Contents Console keywords ->