BBj Data Types


BBj data falls into the following three general categories:

  • Numeric data includes numeric literals (12.95, 200), numeric and integer variables (X, I%), numeric expressions (LEN(X$), A*B), and Java primitives (boolean, byte, char, short, int, long, float, and double).

  • String data includes string literals ("Hello, world"), mnemonics ('GREEN'), string variables (X$), string expressions (A$+B$, STR(N:M$)), and Java strings.

  • Object data includes all other values that do not evaluate to a number or string. Objects are returned from Java calls or BBj object functions.