Re: Bug? in "fileselect"?

From: Grant Edwards <grante_at_rosevax.rosemount.com>
Date: Tue, 10 Jan 1995 15:46:34 -0600 (CST)

> 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

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST