> In fileselect.stk, there is the line:
>
> (define file-exists? (lambda (f) (= 1 (file 'exists f))))
>
> which, I think, is erroneous, in that there is no function "file", and
> moreover, file-exists? is already a subr.
>
> Am I missing something?
I wrote fileselect.stk using STk 2.1.3 and at least in my copy "file"
exists (it's a Tk command) and "file-exists?" isn't there. Perhaps
things have changed since 2.1.3?
Here's a transcript from 2.1.3 under Solaris 2.3:
: $ stk
: Welcome to the STk interpreter version 2.1.3
: Copyright (C) 1993, 1994 Erick Gallesio - I3S - CNRS / UNSA <eg_at_unice.fr>
: STk> file
: #[Tk-command file]
: STk> file-exists?
:
: *** Error:
: unbound variable: file-exists?
: STk>
--
Grant Edwards
Rosemount Inc.
grante_at_rosemount.com
Received on Tue Jan 10 1995 - 22:59:31 CET