How to place a macro parameter into a text?
FAQ #100672
Especially when writing FBoxes it might be useful to fill a PCD text with e.g. the name of an FBox. This can be achieved by using the ".s" postfix.
Possible usage
The example below shows how a the content of a macro parameter can be placed into a PCD text.
Example
Below an example of the usage of the ".s" postifix:
| TextMacro | MACRO | param | |
| TEXT 100 "Hello ", param.s, " !" | |||
| ENDM | |||
| TextMacro(world) | |||
The resulting text in the PCD will be:
TEXT 100 "Hello world !"