PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment