context name newlisp-tk

Started by fabian, August 15, 2006, 04:30:34 AM

Previous topic - Next topic

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?
use the source, luke

HPW

#1
From the console:


QuotenewLISP 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?
Hans-Peter

Lutz

#2
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/viewtopic.php?t=1275&highlight=">http://www.alh.net/newlisp/phpbb/viewto ... highlight=">http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1275&highlight=



Lutz



ps: welcome to the group Fabian

Lutz

#3
... 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

HPW

#4
Thanks for the refresh.

As a mainly DLL user I forgot the TK-details some times. :-(
Hans-Peter

fabian

#5
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]
use the source, luke

HPW

#6
Using latest 8.9.4 works for me here.



(context 'Test1)
(setq a 10)
(context 'MAIN)


After the 'Evaluate Editbox' and 'Refresh' symbol a show up in context Test1.
Hans-Peter

starseed

#7
Yes, this bug has been corrected in 8.9.4