Error Message on memory test
I have just tried
PRINT PEEK 23732 + PEEK 23733 * 256
on what I think is a 48K rubber key machine and instead of getting either
(a) for a 48k unit - 65535
or
(b) for a 16k unit - 32767
I got
2 variable not found, 0:1
Is this indicative of screwed memory ?
PRINT PEEK 23732 + PEEK 23733 * 256
on what I think is a 48K rubber key machine and instead of getting either
(a) for a 48k unit - 65535
or
(b) for a 16k unit - 32767
I got
2 variable not found, 0:1
Is this indicative of screwed memory ?
Post edited by ADJB on
Comments
But I'm guessing you wouldn't have done something trivially silly as that. :D
I see what you mean but no, it was definitely keyword.
A couple of times, same result.
My suggestion would only apply if brackets were used around the PEEK argument otherwise it would fail the syntax checking stage anyway.
Tis an unexpected error from that command though.
Sinclair variables can have spaces so 'peek 23733' is a valid variable name in either upper or lower case. Stick a line number in front so that you can definitely check that the cursor jumps through the keyword when editing.
10 PRINT PEEK 23732 + PEEK 23733 * 256