PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
New in version 17
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This type of variable is now available in Apple Watch mode.
New in version 21
Apple Watch This type of variable is now available in Apple Watch mode.
Apple Watch This type of variable is now available in Apple Watch 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 required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment