Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

++PRAGMA TRACE_BEGIN enhancement: a fourth optional parameter has been added in which you can specify a list of tokens to be traced. If specified, only lines containing one of those tokens (or variables) will be auto-traced. For example:

++PRAGMA TRACE_BEGIN (0,"tag1","$#","qty,TOTAL,sku")

Following the above pragma, only lines containing "qty", "TOTAL", or "sku" will be auto-traced. Notes:

The token matching is case sensitive, and 'whole word' oriented. So the above would not match the line "qty_1 = QTY / TOTAL2". However, the token XXX in the pragma list will match XXX$, XXX(Y), and XXX.Y.
Tokens will also match anywhere in the source line—i.e. within string literals and even comments.
The trace token filtering is handled entirely by the compiler.