This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
GET MACRO PARAMETER
|
GET MACRO PARAMETER ( selector ; textParam ) | ||||||||
Parameter | Type | Description | ||||||
selector | Longint |
![]() |
Selection to use | |||||
textParam | Text |
![]() |
Returned text | |||||
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:
Constant | Type | Value |
Full method text | Longint | 1 |
Highlighted method text | Longint | 2 |
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.
Refer to the example of the SET MACRO PARAMETER command.
Product: 4D
Theme: Tools
Number:
997
Created: 4D v11 SQL
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)