Notifications
Clear all

Winhex Templates

2 Posts
2 Users
0 Reactions
822 Views
(@jwelsh)
New Member
Joined: 19 years ago
Posts: 4
Topic starter  

Im trying to write a new template in Winhex but having trouble with the Uint_Flex variable so wondering if anyone has done some work with templates and knows a way around it.

I've got a variable and wish to use it for a loop and if statement but I get errors saying Invalid integer number.

uint_flex "2,1,0" "Offset1"
numbering 0
{
byte "B[~]"
} [(3^Offset1)]

And further down I wish to do an if comparision with the same variable but get the same probelem saying invalid integer. Is there anyway to turn these bits I've extracted using uint_flex into a valid integer that can be used in loops and if statements etc?

Thanks for any help.


   
Quote
(@jot49)
Active Member
Joined: 18 years ago
Posts: 16
 

Best way is to post it in the x-ways support forum. Stefan Fleischmann is really quick in answering.


   
ReplyQuote
Share: