Login
Back to forumSee the full topicGo to last reply

Posted By

Ulysses777
on 2005-11-16
17:44:24
 Re: Commodore User Type In Games... Anyone Have Scans Or Images?

DATA statements...the bane of the type-in typist...(a little YAPE suggestion...an option to use the keypad for typing numbers?) wink

OUT OF DATA error does indeed mean that there are too few data items. Due to the way the program works, the missing item(s) should be somewhere between line 1100 and the end of the program.

One thing you can do is enter PRINT 293-A+1 after the error occurs, this will show you how many data items are missing.

One other thing you can try (although it might not work) is type SYS 12288 and SYS 12365. If, after entering either SYS command, you get a BREAK message followed by the Monitor display, make a note of the 4-digit hexidecimal number under the letters 'PC'. Then type X to get back to BASIC, and enter the following:

A=DEC("xxxx")-12288 : B=0 : DO : A=A-16 : B=B+1 : LOOP UNTIL SGN(A)=-1 : PRINT (B+109)*10

(where xxxx is the aforementioned 4-digit hex number). This should hopefully print the line number which is missing the data item. NOTE: it's quite possible this may not work, so you may have to check those DATA lines again.

Hope this helps happy



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon