newLISP Fan Club

Forum => Anything else we might add? => Topic started by: gregben on April 24, 2005, 06:33:22 PM

Title: documentation fix: (device)
Post by: gregben on April 24, 2005, 06:33:22 PM
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...
Title:
Post by: Lutz on May 02, 2005, 06:04:01 AM
Just realize, I forgot this in the 8.5.5. It will be corrected in the next release.



Lutz