Get information about a variable.

Hint: This command cannot be used in a FOR loop.

Syntax:

    GetVar <var>

Arguments:

    var : name of the variable - see notes

info Information

This function is used for variables, parameters of sub-programs and UDFBs or for items of data structures. The name of the variable must be prefixed with its group name and the '.' separator. The variable is considered as GLOBAL if no prefix is specified. Some examples are attached below.

Examples:




Argument

Description

VarName

A global variable.

RETAIN.VarName

A RETAIN variable.

ProgName.LocVarName

A variable local to a program.

UDFBName.ParamName

A parameter of a UDFB.

StructName.Item

An item of a data structure.

Fixed_Image See also


CreateVar - Create a variable

CreateInParam - Create an input parameter

CreateOutParam - Create an output parameter

DimVar - Set variables dimensions

DeleteVar - Delete a variable

InitVar - Set variable initial value

SybVar - Specifies whether the symbol of a variable must be embedded

ProfileVar - Set variable profile and embedded properties

EnumVar - Enumerate variables

GetVarProp - Get variable embedded properties

 

Special commands

Managing programs

Managing program folders

Managing data types (structures)

Managing I/O boards

Managing comment texts

 

The console



Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy