newLisp DLL with silent Bug?

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

newLisp DLL with silent Bug?

Post by HPW »

When I use a call with (silent ...) one time with the DLL, I get no more any return.
Is it a bug?
It should only works for the one call!


In TK it works like this:

Code: Select all

> (print "Test")
Test"Test"
> (silent(print "Test"))
Test

>(print "Test")
Test"Test"
> 
Hans-Peter

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

Post by HPW »

I tired this function to do what I want.

Code: Select all

;function for print strings without return-value
(define (nb-print nb_str)
	(silent(print nb_str))
	)
But works also only on the first call.
Hans-Peter

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

Post by Lutz »

when using 'silent' in DLL mode it never gets reset, this will be fixed in the next development version.

Lutz

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

Post by HPW »

Lutz,

Thanks for the quick info.
This will allow another cool feature for the interface.
Hans-Peter

Locked