Page 1 of 1
context name newlisp-tk
Posted: Tue Aug 15, 2006 11:30 am
by fabian
hello,
i have tried newlisp-tk and could not create a new context
with the editor. i tried a lot of combinations but with no
new context. what is wrong?
Posted: Tue Aug 15, 2006 12:18 pm
by HPW
From the console:
newLISP v.8.9.3 on Win32 MinGW.
> (context 'GRAPH)
GRAPH
GRAPH> (context 'MAIN)
MAIN
>
In the editor it seems that he is not updated when I click 'Evaluate editbox' or 'EvaluatePrint editbox'.
Closing editor and reopen show the new context and its symbol.
Lutz?
Posted: Tue Aug 15, 2006 12:26 pm
by Lutz
Thats the way it is, you can make the context using the menu faciity (currently broken but fixed in upcoming 8.9.4) and than it gets updated immedeately.
see also this thread:
http://www.alh.net/newlisp/phpbb/viewto ... highlight=
Lutz
ps: welcome to the group Fabian
Posted: Tue Aug 15, 2006 12:50 pm
by Lutz
... I forgot: there is also a 'refresh' option in the menu of the editor, or hit Ctrl-R while in the editor, for refreshing the context display.
Lutz
Posted: Tue Aug 15, 2006 1:10 pm
by HPW
Thanks for the refresh.
As a mainly DLL user I forgot the TK-details some times. :-(
again tk context problem
Posted: Thu Aug 17, 2006 12:03 pm
by fabian
hello,
ervery time i try to create a new context with the newlisp-tk ide
i get the message:
symbol is protected in function silent : sym
called from user defined function SYS:make-context-verify
after a refresh the new context is not listed. seems that it is
not created. i can only create a new context on the console.
so it seems that the context create function of the editor is
broken?
greetings,
fabian
[/b]
Posted: Thu Aug 17, 2006 12:35 pm
by HPW
Using latest 8.9.4 works for me here.
Code: Select all
(context 'Test1)
(setq a 10)
(context 'MAIN)
After the 'Evaluate Editbox' and 'Refresh' symbol a show up in context Test1.
Posted: Thu Aug 17, 2006 2:11 pm
by starseed
Yes, this bug has been corrected in 8.9.4