PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of Definition variables
  • Functions that handle the Definition type
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
The Definition type is used to find out the characteristics of a type:
  • simple type,
  • advanced type,
  • class,
  • structure,
  • Versions 23 and later
    combination,
    New in version 23
    combination,
    combination,
  • Versions 23 and later
    enumeration.
    New in version 23
    enumeration.
    enumeration.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 18 and later
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
New in version 18
iPhone/iPad This type of variable is now available for 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 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
// Récupère la définition du type de x
d est une Definition
d = RécupèreDéfinition(x)
// Affiche le nom du type de x
Trace(d.Nom)
Remarks

Properties specific to the description of Definition variables

The following properties can be used to handle a Definition variable:
Property nameType usedEffect
Versions 22 and later
AssociationDefinition
New in version 22
AssociationDefinition
AssociationDefinition
Array of Definition variablesDefinition of associated types.
In this case, the Property associated of variables of type Property description, Variable description and Procedure Description returns True.
BaseDefinitionArray of Definition variablesDefinition of base types.
DefinitionFamilyIntegerDefinition of base types.
This property is accessible in read-only.
NameCharacter stringName of type.
This property is accessible in read-only.
Versions 23 and later
Option
New in version 23
Option
Option
Array of Option descriptionDescription of options for a definition of combination.
Remark: Information available for the combinations defined in the data model editor and for the combinations defined in WLanguage.
ProcedureArray of Procedure DescriptionMethods of class if the defined type is a class.
Versions 22 and later
The Property associated of variables of type Procedure Description returns False in the case of the base class methods.
New in version 22
The Property associated of variables of type Procedure Description returns False in the case of the base class methods.
The Property associated of variables of type Procedure Description returns False in the case of the base class methods.
PropertyArray of Property descriptionProperties of class if the defined type is a class.
Versions 22 and later
The Property Associated of variables of type Property description returns False in the case of Property s of the base class.
New in version 22
The Property Associated of variables of type Property description returns False in the case of Property s of the base class.
The Property Associated of variables of type Property description returns False in the case of Property s of the base class.
TypeIntegerWLanguage type.
This property is accessible in read-only. The available values are identical to the ones returned by TypeVar.
Versions 23 and later
Value
New in version 23
Value
Value
Array of Value descriptionDescription of values for a definition of enumeration.
Remark: Information available for the enumerations defined in the data model editor and for the enumerations defined in WLanguage.
VariableArray of Variable descriptionMembers of class or structure if the defined type is a class or a structure.
Versions 22 and later
The Property associated of variables of type Variable description returns False in the case of members of the base class.
New in version 22
The Property associated of variables of type Variable description returns False in the case of members of the base class.
The Property associated of variables of type Variable description returns False in the case of members of the base class.

Functions that handle the Definition type

GetDefinitionRetrieves the definition of element type.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment