PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Properties specific to the description of Variable Description variables
  • Operation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Variable description (Type of variable)
In french: Description de variable (Type de variable)
The Variable description type is used to get information about a member of a class or structure.
Note: See Declaring a variable for more details.
Versions 17 and later
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
New in version 17
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
Example
// Retrieves the definition of type class or structure of variable x
MyDefinition is Definition
MyDefinition = GetDefinition(x)
// Retrieves the description of nValue member of class or structure
m is Variable Description
m = MyDefinition..Variable["nValue"]
Remarks

Properties specific to the description of Variable Description variables

The following properties can be used to handle a variable description:
Property nameType usedEffect
Versions 22 and later
Associated
New in version 22
Associated
Associated
Boolean
  • True if the variable comes from an associated element,
  • False if the variable comes from a base element.
This property is available in read-only.
DeclarationDefinitionDefinition of the class or structure that declares the member.
This property is available in read-only.
DefinitionDefinitionDefinition of member type.
This property is available in read-only.
GlobalBoolean
  • True if the member is global,
  • False otherwise.
This property is available in read-only.
InheritedBoolean
  • True if the member is inherited from a base class,
  • False otherwise.
This property is available in read-only.
MaskedBoolean
  • True if the member is hidden by a member of a derived class,
  • False otherwise.
This property is available in read-only.
NameCharacter stringName of member.
This property is available in read-only.

Note: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>

Operation

The described member can be handled via the indirection:
  • {<object>, <variable description>}
  • {<object>, <variable description>} =...
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment