The following snippets apparently don't result in the same things:
Code: Select all
filexor my_key
for i = 0 < 2
get one long
get two long
getdstring name two
next i
Code: Select all
filexor my_key
get one long
get two long
getdstring name two
filexor my_key
get one long
get two long
getdstring name two
The second snippet works correctly and gets the names as expected.
I'm using 0.5.13
EDIT: hmm I found the issue.
Turns out my idea of filexor is not what quickbms is actually doing lol
If I say
Code: Select all
for i = 0 < 2
savepos curpos
filexor my_key curpos
get one long
get two long
getdstring name two
next i
Though, that doesn't explain why this worked.
Code: Select all
filexor my_key
get one long
get two long
getdstring name two
filexor my_key
get one long
get two long
getdstring name two


