Test and jump to value of XCounter
ArborX


Summary
This example changes text format depending on counter value.

The example below tests the current value of the counter 99 to decide on what attributes to assign to the <Body> tag.

If the counter x99 is 1, then jump to the label <?:red>, or if 2 jump to <?:blue>.

Tx Body: 0(96)c

<?}=1?x(99)red><?}=2?x(99)blue><?->
<?:red><?th=12pt><?tic=red><?->
<?:blue><?th=8pt><?tic=Blue><?->

Note the <?-> command following the second jump test to exit the tag if neither of the jump commands are executed, (i.e. if x99 is not 1 or 2). Also located at the end of each label entry.

Document created on 08-Feb-2003 (revision 1)