Rapid-Q Documentation by William Yu (c)1999-2000 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.

Variable Support Type Description




CommandCount Windows Unix INTEGER Number of command line parameters received.
Command$() Windows Unix ARRAY 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 Unix STRING Returns the current working directory of your application
IsConsole Windows Unix INTEGER Returns a non-zero number if application is a console, 0 otherwise.
MouseX Windows INTEGER Returns X Coordinate of Mouse Pointer relative to your active Form. This function is being deprecated.
MouseY Windows INTEGER Returns Y Coordinate of Mouse Pointer relative to your active Form. This function is being deprecated.
ParamStrCount Windows Unix INTEGER Returns number of String parameters received. This variable is used only inside a SUBI or FUNCTIONI declaration.
ParamStr$() Windows Unix ARRAY Used only inside a SUBI or FUNCTIONI declaration. Returns string parameter value, first element starting at 0.
ParamVal() Windows Unix ARRAY Used only inside a SUBI or FUNCTIONI declaration. Returns numeric parameter value, first element starting at 0.
ParamValCount Windows Unix INTEGER Returns number of Numeric parameters received. This variable is used only inside a SUBI or FUNCTIONI declaration.
Screen.ConsoleX Windows Unix INTEGER Returns maximum column for console screen, useful under Unix.
Screen.ConsoleY Windows Unix INTEGER Returns maximum row for console screen, useful under Unix.
Screen.Cursor Windows INTEGER Change global mouse pointer
Screen.Cursors Windows ARRAY of INTEGER R/W array of cursor handles.
Screen.Height Windows INTEGER Returns Windows screen Height (not to be confused with Form Height)
Screen.MouseX Windows INTEGER Returns X Coordinate of Mouse Pointer relative to your screen.
Screen.MouseY Windows INTEGER Returns Y Coordinate of Mouse Pointer relative to your screen.
Screen.Width Windows INTEGER Returns Windows screen Width
Stack.Int() Windows Unix ARRAY Returns most current stack integer parameter. First element starting at 0. This function is deprecated.
Stack.Str$() Windows Unix ARRAY Returns most current stack string parameter. First element starting at 0. This function is deprecated.


<- Procedures Contents Console keywords ->