context name newlisp-tk

Q&A's, tips, howto's
Locked
fabian
Posts: 2
Joined: Tue Aug 15, 2006 11:20 am

context name newlisp-tk

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

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

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

fabian
Posts: 2
Joined: Tue Aug 15, 2006 11:20 am

again tk context problem

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

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post 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.
Hans-Peter

starseed
Posts: 38
Joined: Thu Jul 27, 2006 8:45 pm

Post by starseed »

Yes, this bug has been corrected in 8.9.4

Locked