Found a workaround. Using jinvoke allows you to use the method! A = MyClass.new() B = jinvoke(A,"thisIsAVeryVeryLongMethodName",5)
From: [email protected] To: [email protected] Date: Fri, 27 Feb 2015 14:53:34 +0800 Subject: [Scilab-users] Handling a very long Java method name I have a Java class that has a very long method name. When using the method, Scilab will give a warning and truncates the method to fit 24 characters. As a result, I will get an error saying that it is an invalid field. Is there a way to overcome this? Thanks. --> A = MyClass.new() --> B = A.thisIsAVeryVeryLongMethodName(5) Warning : The identifier : thisIsAVeryVeryLongMethodName has been truncated to: thisIsAVeryVeryLongMetho. !--error 999 %_EObj_e: An error occurred: Exception when calling Java method : Invalid field ThisIsAVeryVeryLongMetho at org.scilab.modules.external_objects_java.ScilabJavaObject.extract(Unknown Source) Invalid field ThisIsAVeryVeryLongMetho at org.scilab.modules.external_objects_java.ScilabJavaObject.extract(Unknown Source) _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
