PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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.
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 version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment