Directive: Declare in-line string constant and get its address.
((PUB ┆ PRI))
STRING (StringExpression )
...
Returns: Address of in-line string constant.
- StringExpression is the desired string expression to be used for temporary, in-line purposes.
Explanation
The DAT block is used often to create strings or string buffers that are reusable for various purposes, but there are occasions when a string is needed for temporary purposes like debugging or one-time uses in an object. The STRING directive is meant for those one-time uses; it compiles an in-line, zero-terminated string into memory and returns the address of that string.
...