Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.zx » ZX-81 bug: HELP needed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
ZX-81 bug: HELP needed [message #128074] Fri, 11 October 2013 18:11
zemon is currently offline  zemon
Messages: 33
Registered: May 2013
Karma: 0
Member
Message-ID: <125@felix.UUCP>
Date: Mon, 5-Sep-83 00:16:52 EDT
Article-I.D.: felix.125
Posted: Mon Sep  5 00:16:52 1983
Date-Received: Sat, 3-Sep-83 00:18:49 EDT
Organization: FileNet Corp., Costa Mesa, Ca.
Lines: 41


I have a strange problem with an old Sinclair ZX-81 that I
think is a bad ROM.  Has anyone else ever experienced
anything like it?  It there a solution?  Note the following
program segment.  It is the top of the program; there is
nothing but REMarks preceding it.

200 LET NRAW = 30
210 LET NWORDS = 300
220 DIM G$(NWORDS, NRAW)
230 DIM R(NRAW)
235 LET T$ = " (I, C, -) "
240 CLS
250 PRINT "string constant"
260 "       "       "
270 "       "
275 "       "
280 "       "
282 "       "
285 PRINT
287 PRINT "string constant"
290 IF INKEY$ = "" THEN GOTO 290
310 FOR A = 1 TO NRAW
320 CLS
330 SCROLL
340 PRINT "BEGINNING GROUP"; A;
...

When I run this I get the error message telling me that A
has not been initialized at line 340.  (I think the message
is 2/340.)  The really wierd part is that the program runs
OK if I remove line 220 (DIM G$(300, 30))!

Any help would be greatly appreciated.  I am on the verge
of pitching the whole darn machine and writing the program
on something else cheap (maybe a CoCo).

	-- Art Z.
	(213)428-1193 evenings
	...!{ucbvax, decvax}!trw-unix!felix!zemon
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: schematic wanted; Help for fried ROMs
Next Topic: Thanks for Timex/Sinclair Schematic
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Apr 24 10:56:24 EDT 2024

Total time taken to generate the page: 0.06300 seconds