MAINSAIL Language Manual, Section 47.1

previous   next   top   complete contents   complete index   framed top   this page unframed


47.1. $sArg

$sArg is a special built-in macro that takes two arguments: a piece of bracketed text and a number n. It treats the bracketed text as a list separated by commas and expands to a STRING constant containing the text of the nth item in the list.

$sArg is often used in conjunction with REPEATABLE macro parameters. It is described in detail in Section 15.6.1.


previous   next   top   complete contents   complete index   framed top   this page unframed

MAINSAIL Language Manual, Section 47.1