Lasso Soft Inc. > Home

RhinoTrac

LassoSoft Ticket Tracking System

NOTE: If you are using Lasso Server 9.3 please Log your ticket directly via the LUX admin as this will give us more information about your issue.

Lasso 9 Issues



Ticket #7349: Optional param problem with thread objects

Reported by:
Kyle Jessup
Date:
13 Apr, 2011
Priority:
minor
Component:
Lasso 9
Version:
Keywords:
Platform:
Optional parameters do not work on methods of thread objects

Comments

13 Apr, 2011 by Kyle Jessup
define my_test => thread {
public oncreate() => {}
public some_test(t1::string, t2::string, t3::string = 'optional') => {
return #t1
}
}

`my_test -> some_test('val 1', 'val 2')`

Error Msg: Definition Not Found: my_test_thread$$$$$$$->some_test(string, string, void) Candidates were: my_test->some_test(t1::string, t2::string, t3::string =?)

This works:

`my_test -> some_test('val 1', 'val 2', 'val 3')`
13 Apr, 2011 by Kyle Jessup
Add a second method
Please log in to your LassoSoft account to comment

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft