Home Hex Edit Home Page
Hex Edit Features Hex Edit Features
Button Testimonials
Button Screen Shots
Button Downloads
Button Forums Home
Button HexEdit FAQ
Button Known Bugs
about help privacy register
Forums
Search Members Help

» Welcome Guest
[ Log In :: Register ]

 

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Fails to refer to an identifier inside a JUMP< Next Oldest | Next Newest >
 Post Number: 1
mleise Search for posts by this member.

Avatar



Group: Members
Posts: 1
Joined: Sep. 2012

Member Rating: None
PostIcon Posted on: Sep. 16 2012,16:34  Skip to the next post in this topic. Ignore posts   QUOTE

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.
Offline
Top of Page Profile Contact Info 
 Post Number: 2
andrew Search for posts by this member.

Avatar



Group: Super Administrators
Posts: 635
Joined: Oct. 2003

Member Rating: 4
PostIcon Posted on: Sep. 22 2012,18:09 Skip to the previous post in this topic.  Ignore posts   QUOTE

I understand your problem.  (If you nest something in a JUMP it should not hide identifiers.)  I believe I tested that but I will check.

--------------
Andrew Phillips
Moderator of Forums and creator of Hex Edit
Offline
Top of Page Profile Contact Info WEB 
1 replies since Sep. 16 2012,16:34 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


 
reply to topic new topic new poll

» Quick Reply Fails to refer to an identifier inside a JUMP
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code