PrevTagRef: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Noahj (talk | contribs)
added example
Noahj (talk | contribs)
No edit summary
 
Line 8: Line 8:
:'''SeqLab''' ' first line of block' EOL      {NextTag gets the sequence number from this line}<br/>
:'''SeqLab''' ' first line of block' EOL      {NextTag gets the sequence number from this line}<br/>
:SeqLabC 'body of block' EOL <br/>
:SeqLabC 'body of block' EOL <br/>
:'''SeqLab''' ' last line of block' EOL      {PrevTag gets the sequence number from this line. <br/>
:'''SeqLab''' ' last line of block' EOL      {PrevTag gets the sequence number from this line.}<br/>
:PrevTag Tag# EOL <br/>
:PrevTag Tag# EOL <br/>



Latest revision as of 23:44, 1 May 2017

PrevTagRef

Description

When combined with the keyword Tag#, this will output the sequence number that has been set by the next PrevTag.


Example:

'P' NextTagRef Tag# 'Q' PrevTagRef Tag# EOL
NextTag Tag# EOL
SeqLab ' first line of block' EOL {NextTag gets the sequence number from this line}
SeqLabC 'body of block' EOL
SeqLab ' last line of block' EOL {PrevTag gets the sequence number from this line.}
PrevTag Tag# EOL

Example output:

P1Q2
N1 FIRST LINE OF BLOCK
BODY OF BLOCK
N2 LASTLINEOFBLOCK


Stats

ID 906
Type Command
Class Any
Min Version V11