mleise 

Group: Members
Posts: 1
Joined: Sep. 2012
Member Rating: None
|
 |
Posted on: Sep. 16 2012,16:34 |
|
 |
Hello, I wrote a template that reads a file that contains a a string lookup table at the end and uses indexes into that in other places. So I wrapped the index (a simple 16-bit number) in a STRUCT and set the display to something like {StringTable.String[this.idx]}. When I click OK, the program tells me, that this isn't an identifier.
I tried the lookup with an EVAL, which actually lists me some 'templates' like "StringTable.String[ ].length". But when I try "StringTable.String[0].length" as an example, it fails for the same reason as the STRUCT.
On the other hand, if I don't wrap the StringTable in a JUMP (by actually placing it at the end of the file) and use an EVAL after that, it works. So I figure it must be the JUMP at fault here, hiding the identifier inside from the code that does the evaluation.
|