documentation fix: (device)
Posted: Mon Apr 25, 2005 1:33 am
The following example in the documentation is incorrect:
(device (open "myfile" "write")) => 5
(print "This goes in myfile") => "This goes in myfile.dat"
(close (device)) => true
It should be:
(device (open "myfile" "write")) => 5
(print "This goes in myfile") => "This goes in myfile"
(close (device)) => true
note .dat suffix removed from comment on line
starting with (print...
(device (open "myfile" "write")) => 5
(print "This goes in myfile") => "This goes in myfile.dat"
(close (device)) => true
It should be:
(device (open "myfile" "write")) => 5
(print "This goes in myfile") => "This goes in myfile"
(close (device)) => true
note .dat suffix removed from comment on line
starting with (print...