Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 10/10/84; site orion.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!orion!iv From: iv@orion.UUCP (I.VESSEY) Newsgroups: net.micro Subject: KPRO2 Problem with S-BASIC Message-ID: <445@orion.UUCP> Date: Mon, 22-Jul-85 13:55:41 EDT Article-I.D.: orion.445 Posted: Mon Jul 22 13:55:41 1985 Date-Received: Thu, 25-Jul-85 01:46:36 EDT Distribution: net Organization: ATTIS Holmdel,NJ Lines: 42 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