GET MACRO PARAMETER

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11


GET MACRO PARAMETER (selector; textParam)

ParameterTypeDescription
selectorLongintSelection 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 textLongint1
Highlighted method textLongint2

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.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next