NextTagRef: Difference between revisions
Jump to navigation
Jump to search
added a meaningful description |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
'''NextTagRef''' | '''NextTagRef''' | ||
{{Description|description=When combined with the keyword '''[[Tag#]]''', this will output the sequence number that has been set by '''[[NextTag]]'''.}} | {{Description|description=When combined with the keyword '''[[Tag#]]''', this will output the sequence number that has been set by the next '''[[NextTag]]'''. | ||
Example: | |||
:'P' NextTagRef Tag# 'Q' PrevTagRef Tag# EOL <br/> | |||
:NextTag Tag# EOL <br/> | |||
:'''SeqLab''' ' first line of block' EOL {NextTag gets the sequence number from this line}<br/> | |||
:SeqLabC 'body of block' EOL <br/> | |||
:'''SeqLab''' ' last line of block' EOL {PrevTag gets the sequence number from this line.} <br/> | |||
:PrevTag Tag# EOL <br/> | |||
Example output: | |||
:P1Q2 | |||
:'''N1''' FIRST LINE OF BLOCK | |||
:BODY OF BLOCK | |||
:'''N2''' LASTLINEOFBLOCK}} | |||
{{Stats|id=904|type=Command|class=Any|scope=|version=V11}} | {{Stats|id=904|type=Command|class=Any|scope=|version=V11}} | ||
[[Category:Subs]] | [[Category:Subs]] | ||
Latest revision as of 23:44, 1 May 2017
NextTagRef
Description
When combined with the keyword Tag#, this will output the sequence number that has been set by the next NextTag.
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 904 Type Command Class Any Min Version V11