PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Retrieving the definition
  • Limits
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
Retrieves the description of a type identified by its name.
Example
PROCÉDURE Proc(ClassName is string)

// Retrieves the definition of the class identified by its name
MyDefinition is Definition
MyDefinition = GetTypeDefinition(ClassName)
Syntax
<Result> = GetTypeDefinition(<Name of Class or Structure>)
<Result>: Definition
Definition variable.
<Name of Class or Structure>: Character string
Name of the class or structure for which the definition must be retrieved.
Remarks

Retrieving the definition

If the class or structure is unknown, GetTypeDefinition returns a Null definition associated with the non-fatal error "invalid definition".
If the element is not allocated, GetTypeDefinition returns a Null definition associated with the non-fatal error "element not allocated".
The error cases can be processed:
  • by comparing the description to Null.
  • by checking the value of the ErrorOccurred variable.

Limits

  • In a project, you cannot retrieve the definition of a class or structure coming from:
    • an external component.
    • an internal component.
  • In an external component, you cannot retrieve the definition of a class or structure coming from the host project.
Component : wd240vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment