4D v16.3

GET MACRO PARAMETER

Home

 
4D v16.3
GET MACRO PARAMETER

GET MACRO PARAMETER 


 

GET MACRO PARAMETER ( selector ; textParam ) 
Parameter Type   Description
selector  Longint in Selection to use
textParam  Text in 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.

Example  

Refer to the example of the SET MACRO PARAMETER command.



See also 

SET MACRO PARAMETER

 
PROPERTIES 

Product: 4D
Theme: Tools
Number: 997

 
HISTORY 

Created: 4D v11 SQL

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)