The strangeness continues:
I finally got the app to compile without error messages, but when I run it and come to a line like this in the Module:
Dim x, z(3) As Int
z(0) = 1
z(1) = 2
z(2) = 3
x = CallSub2(Main, "AddEm", z)
On the CallSub2 line I get the error:
javaj.lang.NumberFormatException: Invalid double: ""
If in place of the above CallSub2 line I put:
CallSub2(Main, "AddEm", z)
x = MySum
Where "MySum" is set to the sum in the AddEm sub, the program runs fine (except for a problem with Debug), so what the heck does that error message mean?