Contents | Index | < Browse | Browse >
VARIABLES
===================================================================
Variables are like small temporary files. They provide a place where
you can store some text, and refer to it whenever you need it, by
using the name of the variable.
Gui4Cli has 3 types of Variables :
Normal Variables
- These are the standard Gui4Cli variables (Case Sensitive)
ENV: variables
- ENV: Variables are actually small files in the ENV: directory
which is in your Ram disk.
Internal Variables
- Internal variables are there to provide you with information
about the current state of the system. You can read them, but
you can NOT set them.
When working with variables you use the following notation :
MyVariable - is the name of a Gui4Cli Variable called MyVariable
$MyVariable - is the contents of this Variable
.MyVariable - is the name of an ENV: Variable called .MyVariable
$.MyVariable - is its contents
$$G4C.Path - is the contents of an Internal variable containing
Gui4Cli current path. These vars can not be set.
ALL of the parameters of ALL EVENT COMMANDS are translated before
being executed, so if you give the command :
> SetScreen $ScreenName
... and if the Variable ScreenName contains the words "MyScreen",
> SetScreen MyScreen
... will be the command that will be executed.