Sorry if that title is hard to understand, I wasn't sure the best way to word it. Anyway...
What I am wondering is can I store an expression to be used as a variable?
In my dialog system I am using this text to let my function know which dialog to call from the XML and set it:
Now rather than copying and pasting this into every use, is there a way to set say a constant variable to hold that text and then apply it when needed, so that
rather that having:
Function On"fc_callDialog": Set text xml.StringValue("/Conversations/"¤tChapter&"/hint[@id='"¤tVerse&NumberLines&"']/text()") "[/code:3peseoio]
I will instead be able to do something like
[code:3peseoio]Function On"fc_callDialog": Set text variableName[/code:3peseoio]
(I am sorry if this isn't well explained, it is difficult to word the exact question)
The issue is that it simply calls the variable as a string of text rather than considering any of as an expression? I get the feeling it isn't possible to do this in Construct but I thought I would check if anybody here knows something I don't about doing this.