PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of Procedure Description variables
  • Call to method
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 Procedure description type is used to get information about a class method.
Note: See Declaring a variable for more details.
Versions 18 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 18
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
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Example
// Retrieves the definition of type class of variable x
MyDefinition is Definition
MyDefinition = GetDefinition(x)

// Retrieves the description of Calc method
MyProcedure is Procedure Description
MyProcedure = MyDefinition..Procedure["Calc"]
Remarks

Properties specific to the description of Procedure Description variables

The following properties can be used to handle a Procedure Description variable:
Property nameType usedEffect
Versions 22 and later
Associated
New in version 22
Associated
Associated
Boolean
  • True if the method comes from an associated class,
  • False if the meethod comes from a base class.
DeclarationDefinitionDefinition of the class that contains the method.
This property is available in read-only.
GlobalBoolean
  • True if the method is global,
  • False otherwise.
This property is available in read-only.
InheritedBoolean
  • True if the method is inherited from a base class,
  • False otherwise.
This property is available in read-only.
NameCharacter stringMethod Name.
This property is available in read-only.
VirtualBoolean
  • True if the method is virtual,
  • False otherwise.
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>

Call to method

The method whose description was retrieved can be called by ExecuteProcess.
  • Call to a static method
    p is procedure description
    p = ...
    ExecuteProcess(Null, p, <param1>, <param2>, ...)
  • Call to a method of instance
    p is procedure description
    p = ...
    ExecuteProcess(<object variable>, p, <param1>, <param2>, ...)
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment