Page 1 of 1

newLisp DLL with silent Bug?

Posted: Sat Dec 06, 2003 7:47 am
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"
> 

Posted: Sat Dec 06, 2003 8:45 am
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.

Posted: Sat Dec 06, 2003 11:09 pm
by Lutz
when using 'silent' in DLL mode it never gets reset, this will be fixed in the next development version.

Lutz

Posted: Sun Dec 07, 2003 6:59 am
by HPW
Lutz,

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