Here's a basic newbie question I've not yet figured out how to answer, but feel like I should have already know. How does one set a variable to contain a passage link?
Something like this:
<<set $foo = [[passage]]>>
I'd like to use it in an object, kinda like this:
<<set $foo = {
passage: [[link]]
}>>
I'm sure the answer is a total facepalm, but for some reason (read: I'm stupid), I can't figure out the syntax. :-[
Thanks!
PS: I forgot to mention I tried
this:
<<set $foo = link>>
<<print tale.get($foo).text>>
And
<<set $foo = "link">>
<<print tale.get($foo).text>>
And
<<set $foo = [[link]]>>
<<print tale.get($foo).text>>
To no avail.
Comments