例(書き出し)
100 DATA "青木", 56, 74 110 DATA "飯田", 92, 83 120 OPEN #1: NAME "A:sample.CSV",RECTYPE INTERNAL 130 ERASE #1 140 DO 150 READ IF MISSING THEN EXIT DO: s$, x,y 160 WRITE #1: s$,x,y 170 LOOP 180 CLOSE #1 190 END例(読み込み)
10 OPEN #1: NAME "A:sample.CSV",RECTYPE INTERNAL 20 DO 30 READ #1,IF MISSING THEN EXIT DO: s$, x,y 40 PRINT s$,x,y 50 LOOP 60 CLOSE #1 70 END