4D v13.4SET MACRO PARAMETER |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
SET MACRO PARAMETER
SET MACRO PARAMETER
The SET MACRO PARAMETER command inserts the paramText text into the method from which it has been called. If text has been selected in the method, the selector parameter can be used to set whether the paramText text must replace all of the method text or only the selected text. In selector, you can pass one of the following constants, added to the “4D Environment” theme:
If no text has been selected, paramText is inserted into the method. In order for the GET MACRO PARAMETER and SET MACRO PARAMETER commands to work correctly, the new “version” attribute must be declared in the macro itself. The “version” attribute must be declared as follows: <macro name="MyMacro" version="2"> This macro builds a new text that will be returned to the calling method:
C_TEXT($input_text) |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v11 SQL SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||