Re: querying user for string input
>>>>> "Andrew" == Andrew Dorrell <dorrell_at_research.canon.com.au> writes:
Andrew> Use the export clause Luke... Plenty of examples of how
Andrew> with the STk distro.
I do, look at the source Obi-Wan.
I think the problem is that if you use export, you must still use
import and therefore use modules. In other words export does NOT put
the variable into the global namespace.
I just tried it again and it doesn't work, i.e.,
(import dialog)
(define get-input (with-module dialog get-input))
Is required to put get-input into the global namespace.
Since I don't use modules and therefore can't use import, I used the
ugly hack, which incidentally comes from the STk source (imagine
that).
As to why I don't use modules, well, that's a long story :-)
Brian
Received on Wed Sep 08 1999 - 07:28:43 CEST
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST