Use Command

The Use command allows Directives to be set. A Directive is a core language setting. Once a Directive has been set, the behaviour of PTPScript will change accordingly, until another Directive in the same group is set.

There is just one command in the Use family - the Use command itself. It consists of the command followed by one or more Directives, separated by commas.

For example:

{ use GreedyLinebreakSuppression, WhitespaceSuppression }

In the example above, the behaviour of the whitespace suppression symbols is being modified so that multiple linebreaks will be suppressed, and single sequences of other whitespace will be suppressed.

Use commands can appear within other command structures.

Directives are case-insensitive.

ptpscript/commands/use.txt · Last modified: 2007/01/24 10:15
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki