Aug 07, 2012; 13:15
Jolle Carlestam
Conditional params in threads
It seems as if this construct is still not working.
define mythread => thread {
public doit(myparam::boolean = false) => {
return (#myparam ? 'Working' | 'Working too')
}
}
That is, having conditional params.
The above will throw an error when called like this:
mythread -> doit
-> Definition Not Found: mythread_thread$->doit(void) Candidates were: mythread->doit(myparam::boolean =?)
These however work:
mythread -> doit(false)
mythread -> doit(true)
Am I to accept this as part of the language or is it in a fix list somewhere?
Lasso 9.2.3.
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>