Skip to main content
Version: Next

GET MACRO PARAMETER

GET MACRO PARAMETER ( selector ; textParam )

ParameterTypeDescription
selectorIntegerSelection to use
textParamTextReturned text

Description

The GET MACRO PARAMETER command returns, in the paramText parameter, all or part of the text of the method from which it was called.

The selector parameter can be used to set the type of information to be returned. You can pass one of the following constants, added to the “4D Environment” theme:

ConstantTypeValue
Full method textInteger1
Highlighted method textInteger2

If you pass Full method text in selector, all of the text of the method will be returned in paramText. If you pass Highlighted method text in selector, only the text selected in the method will be returned in paramText.

Example

Refer to the example of the SET MACRO PARAMETER command.

See also

SET MACRO PARAMETER

Properties

Command number997
Thread safe