---- (unless (or (tk-command? Tk:menu) (tk-command? Tk:menubutton)) (let () .... (define tk::popup #f) .... )) (define (Tk:popup menu x y entry) (if (or tk::popup tk::posted-mb) ;; plus various other fcns and vars defined in the above let ... ) ---- My problem is that I do not see how the above is supposed to work. The function Tk:popup uses variables and functions defined inside a let. However, the behavior of the two schemes I use (mainly bigloo but now also STk) is that the fcns and vars will be undefined outside of the let. So how is the above code supposed to work? I noticed under 3.99, Tk:popup works fine and menu.stk uses modules to provide a local context for the menu operations. There is no let. Presumably, the let in the above 3.1.1 code is trying to achieve the same effect without using modules (3.1.1 does not have modules). Unfortunately, it is not working for me. And why I am on the subject - I am using version 3.1.1 because it is critical that I be able to move my unix code eventually to win95. What is the outlook for a win95 version of the 4.0 version of STk? Thanks for any help Stacy marsella_at_isi.eduReceived on Wed Nov 25 1998 - 17:45:24 CET
This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST