Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Processing order?

Hello again, guys.

Just a little Question:

What is the Processing-Order for Passages in twine? As far as i know, HTML documents are processed from the most inner to the most outer Level. But how work the twine-based syntaxes? If i look at the if-cases, i would assume it works srictly from the top to the bottom, but can i rely on this?

For exaple, i have a widget, that stores a value into a variable, and then the variable is printed in a passage. So, can i be shure that:
<<widgetXY>>
<<print $VarXY>>

will work correctly, or should i use a slighlyx more weired syntax like
<<div>>
  <<div>>
    <<widgetXY>>
  <</div>>
  <<print $VarXY>>
<<//div>>

or else, to force the needed order?

Thank you!
Sign In or Register to comment.