documentation fix: (device)

For the Compleat Fan
Locked
gregben
Posts: 20
Joined: Wed Mar 10, 2004 5:00 pm
Location: San Diego, California, USA

documentation fix: (device)

Post by gregben »

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...

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Just realize, I forgot this in the 8.5.5. It will be corrected in the next release.

Lutz

Locked