![]() When the EXA crashes it will DROP implicitly. So, instead of testing for 10, why not test if your value T has reached 0.Įven more awesome, T being zero is already a condition it's T being F.Īs 'coup de grace', one of the awesome things of this game is that "crashing" is a feature. It's not after a certain number of iterations, it's when you reach 0. Some spoilers, taking this code and improving, if you're still lost.Īlso, why keep a counter, if you already *know* what the end situation is. However, the other scenario's will have a starting number that is variable, so not great to have that hardcoded. You COPY M F, but then you try do stuff on F, even though your 'cursor' has moved.ĭo mind that it now will end on -1, which would be a nice TEST case to change. If you haven't found it yet, as RavenRune says. and i had to get this explanation from someone who hasn't even played the game. it can't copy nothing, so it shows this error. "cannot read past end of file" means the file cursor is over an empty space, and you have an instruction telling it to copy that empty space. ![]() the file cursor is in box 400, after the 9, Within the file the exa holds (NOT the instructions), the "file cursor" is the solid rectangle somewhere in the list of values. I never once understood what this was saying. reading or writing the f register automatically moves the file cursor to the next value in the file. if the file cursor is at the end of the file it will append the new values instead of replacing an existing one. likewise, writing to the f register replaces the value pointed at by the file cursor. when an exa reads from the f register it'll read the value pointed at by the file cursor. "look for the "file cursor" in the file window, highlighting the first value in the file. in particular, these paragraphs that i'd read about 20 times on page 09: being an actual programmer themself, they actually understood the guidebook. lamented my issue to a friend, who offered to help. It doesn't explain what this means, what the end of the file is (and which file? the one it's holding?), why it can't read it, or why it's even TRYING to read itĭecided to give this game another try and still couldn't figure out what the issue was here. XB gets as far as SUBI F 1 T, then says "cannot read end of file" (i don't even know if this is the correct solution, and right now i don't care. Specifically, i currently have this setup: The mask should be a four digit number consisting of digits 0-4.Welcome to "i'm stuck on the tutorial" thread 5000 You pass the original number (or location/register) as the first argument, a mask to apply (or the location/register containing it) to the second argument, and the register to store the result in as the third. You can use TEST MRD to check if there is anything available to read on the M register. You can use TEST EOF to check if the file-pointer is at the end of the current file. This can be used to trigger jumps to labels, with TJMP and FJMP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |