Equinox Online Help - Language Reference - A to Z

Home

Radio

Applies to
SyntaxRadio VariableDescriptions
Action[Statement] Declares radio button variables.
ScopeUsable anywhere.
Notes

This statement declares radio button variables. A new variable is described using the following format:

VariableName (number of options)

VariableName is the name of the new variable. number of options specifies how many values it can take (how many buttons are in the set) and must be a number constant between one and eight.

Many radio button variables can be declared using one Radio statement by adding further variable descriptions, separated by commas.

CategoryDeclarations
See Also Date, Define, Logical, Memo, Number, Procedure_EndProcedure, Public, String, Time
Example

The following example declares two radio fields: one with two possible values and one with the default (8).

Radio sex(2), PolicyType