Sep 26, 2015; 10:17
Torbjörn Nordlindh
Optional parameter
Hello,
OS: CentOS Linux release 7.1.1503 (Core)
Lasso-Instance-Manager-9.3.1-b2.el7.x86_64.rpm
Anyone, please explain why:
define x(a, b, c=0) => {
return(#a + ', ' + #b + ', ' + #c)
}
x(1,2) returns: 1, 2, 0
but
x(1,2,3) returns: staticarray(1, 2, 3)
Where’s the bug? In Lasso or in my head?
Torbjörn
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Sep 26, 2015; 01:46
Steve Piercy - Website Builder
Re: Optional parameter