This software release currently supports the following Property, Field and Method Argument types:
String - string values and arguments begin with the current string-delimiter character that by default is the "reverse-apostrophe" or "accent-grave" character ( ` ). They continue until the ending string-delimiter character is detected. The following examples show valid string values and arguments in use:
PRINT "{ button1.Text=`Edit Employee` }"
PRINT "{ Address1.Text=`123 Melrose Avenue` }"
PRINT "{ Employees.AddItem(`Clem Cadiddlehopper`) }"
The string delimiter may be changed at runtime by using the global TrueGui.StringDelimiter command:
PRINT "{ TrueGui.StringDelimiter='$' }"
The beginning and ending string delimiters may also be changed individually at runtime by using the global TrueGui.BeginStringDelimiter and TrueGui.EndStringDelimiter commands:
PRINT "{ TrueGui.BeginStringDelimiter='<' }"
PRINT "{ TrueGui.EndStringDelimiter='>' }"
The string delimiters could be set to a double quote mark but since a double quote is used to define an actual string to BASIC, the results can be confusing and prone to programming errors.
Character - character values and arguments are a single alphabetic character or symbol enclosed in character-delimiter characters that by default are the single apostrophe. The above StringDelimiter commands are examples of character values. Like the string delimiters, the character delimiter may also be changed by the TrueGui.CharDelimiter command.
Numeric - numeric values and arguments begin with a sign(+ -) or a digit (0-9) and continue until a non-digit character is found. They are sent out as ASCII text as are all parts of TrueGui commands. A typical numeric command would be:
PRINT " MyForm.Width = 500 }"
Floating-point - floating-point values and arguments begin with a sign(+ -), a decimal point or a digit (0-9) and continue using the standard floating-point format with optional exponent. They are sent out as ASCII text as are all parts of TrueGUI commands. A typical floating-point command would be:
PRINT "{ Object.DataValue = -4.56E5 }"
Boolean - Boolean values and arguments are either a "True" or "False" string. An example would be:
PRINT "{ MyForm.button1.Enabled = True }"