[net.micro] KPRO2 Problem with S-BASIC

iv@orion.UUCP (I.VESSEY) (07/22/85)

	A friend of mine has a KPRO 2 home computer with 2 floppy disc drives.
He has a problem when trying to use S-BASIC(which came with the system) to
write or read from the discs.

The test program he used is as follows:

	VAR X = INTEGER
	VAR Y = REAL

	INPUT "WHAT NUM";X
	INPUT "WHAT NUM";Y

	CREATE "TEST"
	FILES R(6)

	OPEN #0;"TEST"
	WRITE #0,1; X,Y

	X=0
	Y=0

	READ #0,1; X,Y
	CLOSE #0

	PRINT "X=";X; "Y=";Y

	END

When run the result is:

	TEST
	WHAT NUM? 123
	WHAT NUM? 456

	R-TYPE READ ERROR IN LINE 0016

Can anyone shed any light on this problem, or what the error message means??
	Thanks for any advice.

		Ian Vessey, AT&T Holmdel
		..!ihnp4!orion!iv