PrevTag: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
Created page with "'''PrevTag''' {{Description|description=Does something, it's magical, Chris knows but he won't say. I think Chris is a wizard and gained Danny Ball's secret power.}} {{Stats|i..."
 
Noahj (talk | contribs)
added a meaningful description
Line 1: Line 1:
'''PrevTag'''
'''PrevTag'''
{{Description|description=Does something, it's magical, Chris knows but he won't say. I think Chris is a wizard and gained Danny Ball's secret power.}}
{{Description|description=When combined with the keywords '''[[Tag#]] [[EOL]]''',will grab the sequence number of the previous line, which can then be output by the prior coded '''[[PrevTagRef]] [[Tag#]]'''.
 
Note, the '''previous line must contain a sequence number''' for this to work (either '''[[Seq]] or [[SeqLab]]''', not [[SeqC]] or [[SeqLabC]]) otherwise there is no sequence for compost to reference.}}
{{Stats|id=905|type=Command|class=Any|scope=|version=V11}}
{{Stats|id=905|type=Command|class=Any|scope=|version=V11}}
[[Category:Subs]]
[[Category:Subs]]

Revision as of 23:06, 1 May 2017

PrevTag

Description

When combined with the keywords Tag# EOL,will grab the sequence number of the previous line, which can then be output by the prior coded PrevTagRef Tag#.

Note, the previous line must contain a sequence number for this to work (either Seq or SeqLab, not SeqC or SeqLabC) otherwise there is no sequence for compost to reference.


Stats

ID 905
Type Command
Class Any
Min Version V11