2014-11-09 15:20:19 +01:00
|
|
|
open "/tmp/test.out" for binary as 1
|
2014-10-27 14:53:12 +01:00
|
|
|
put 1,1,"xy"
|
|
|
|
put 1,3,"z!"
|
|
|
|
put 1,10,1/3
|
|
|
|
put 1,20,9999
|
|
|
|
close 1
|
2014-11-09 15:20:19 +01:00
|
|
|
open "/tmp/test.out" for binary as 1
|
2014-10-27 14:53:12 +01:00
|
|
|
s$=" "
|
|
|
|
get 1,1,s$
|
|
|
|
get 1,10,x
|
|
|
|
get 1,20,n%
|
|
|
|
close
|
|
|
|
print s$
|
|
|
|
print x
|
|
|
|
print n%
|
2014-11-09 15:20:19 +01:00
|
|
|
kill "/tmp/test.out"
|
2014-10-27 14:53:12 +01:00
|
|
|
|