Login
Back to forumSee the full topicGo to last reply

Posted By

JamesD
on 2017-12-06
13:38:00
 Re: Does the Plus/4 support some form of VARPTR() command?

You have to delete lines 0 and 5 after the first time you run the code. The patch is already installed at that point.

The embedded code in line zero causes the interpreter to barf.
The interpreter doesn't jump to the next line using the next line pointer stored at the start of a line, it seeks the 0 at the end of the line and assumes the next line starts after it.
I forgot about that. I ran into that bit of stupidity when I patched the MC-10's BASIC.
Saving the next line pointer would make the interpreter faster and that was one of the optimizations I worked on.



Back to top


Copyright © Plus/4 World Team, 2001-2024