Hi All.
I just tried to call a sub in another unit using
CallSub2(Main,"MySub",oMapData)
however, it throws an error as below:
oSettings = CallSub2(Main,\
javac 1.6.0_21
src\com\blah\vss\blah.java:310: inconvertible types
found : java.lang.String
required: anywheresoftware.b4a.objects.collections.Map.MyMap
_osettings.setObject((anywheresoftware.b4a.objects.collections.Map.MyMap)(anywheresoftware.b4a.keywords.Common.CallSub2(processBA,(Object)(mostCurrent._main.getObject()),"GetSettingsFileData",(Object)(_osettings))));
^
I checked the documentation and there is nothing to say I "can't" do this, I am passing in an object of a type Map
Can someone confirm that this ISN'T possible, or is it a wee bug?
Jeremy
I just tried to call a sub in another unit using
CallSub2(Main,"MySub",oMapData)
however, it throws an error as below:
oSettings = CallSub2(Main,\
javac 1.6.0_21
src\com\blah\vss\blah.java:310: inconvertible types
found : java.lang.String
required: anywheresoftware.b4a.objects.collections.Map.MyMap
_osettings.setObject((anywheresoftware.b4a.objects.collections.Map.MyMap)(anywheresoftware.b4a.keywords.Common.CallSub2(processBA,(Object)(mostCurrent._main.getObject()),"GetSettingsFileData",(Object)(_osettings))));
^
I checked the documentation and there is nothing to say I "can't" do this, I am passing in an object of a type Map
Can someone confirm that this ISN'T possible, or is it a wee bug?
Jeremy