You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message


Tuesday, July 12th 2011, 10:30am

Data types problem

In Java there existing basic datatypes (like in C/C++):
int, long, float, double, boolean, byte, char

And there existing object-datatypes of it (line in .NET), which are little different in use:
Integer, Long, Float, Double, Boolean, Byte, Character

Jabaco using only the basic data types.
Jabacos Integer is the Java int.
Jabacos Long is the Java long.
Jabacos Single is the Java float.
Jabacos Double is the Java double.
Jabacos Boolean is the Java boolean.
Jabacos Byte is the Java byte.
Jabacos Char is the Java char.

From the object representations only Float can be used.

In Java mostly the basic data types are used. But there existing other compiler (I think Scala is one), which only handles with the object representations.

The problem is now, that there is no possibility to access a Java method from Javaco, which used a oject representation:

public static void myMethod (Integer myInt) {


Rate this thread
WoltLab Burning Board