Replies: 2 comments
-
Is this forum still active? |
Beta Was this translation helpful? Give feedback.
-
It is, and I have no idea why my response never showed up here. Here's what I wrote back on Dec 10: Variable assignments are not sequential. It's a shortcoming of the syntax I created. The entire file is processed before acting, so setting a variable at the end that you call at the beginning will output the value from the end. John isn't showing up because there's a value for $myname. I really should try to fix this, but it's a deep issue that would require some major refactoring (like an entire overhaul). When I originally implemented variables it was assumed that you would want to set them once via a script or frontmatter, and that they should be available to the entire document. |
Beta Was this translation helpful? Give feedback.
-
I am having trouble assigning and using variables.
here is my test script:
and here is the log output
Not sure why the variable isn't set to "John" in the first logging, and why is it trying to launch an app?
Beta Was this translation helpful? Give feedback.
All reactions