dmaz.
Assert just throws a general exception if the expression inside it fails. It's a simplified form of the one you presented.
I'm starting to wonder if the problem is endianness. Can you try changing
Local file = ReadFile("lvldat")
To
Local file = ReadFile("littleendian::lvldat")
And see if that works...I'd imagine it will have some effect cause almost all file io with reads of non bytes will require this - an oversight on my part so far.
Thanks for the help
Aaron
Assert just throws a general exception if the expression inside it fails. It's a simplified form of the one you presented.
I'm starting to wonder if the problem is endianness. Can you try changing
Local file = ReadFile("lvldat")
To
Local file = ReadFile("littleendian::lvldat")
And see if that works...I'd imagine it will have some effect cause almost all file io with reads of non bytes will require this - an oversight on my part so far.
Thanks for the help
Aaron