Login
Back to forumSee the full topicGo to last reply

Posted By

JamesC
on 2017-12-05
07:15:12
 Re: Does the Plus/4 support some form of VARPTR() command?

SVS is correct, there is no Commodore BASIC equivalent to VARPTR.

Please expand on your idea of embedding "machine code in a BASIC string", as I am not sure what you want to do.

Interpretation 1: hiding a machine-language routine in MY$. If you know the location of MY$ in memory, you can SYS to that location and execute the machine-language routine. (This is how I read your request.)

Interpretation 2: passing MY$ to a machine-language routine stored elsewhere in memory. (This appears to be the purpose of VARPTR in Microsoft BASIC.)

Once we understand what you want to do, we can find another way to accomplish it. happy



Back to top


Copyright © Plus/4 World Team, 2001-2024