Data types
JM-'s Data types are basically like C++'s
List of Data types
Here is a list of every data type with its syntax.
Integer (Whole number):
int myInteger = 1;
Integer array:
int_array(2) myIntArray(1, 2);
Double (Floating point number):
dbl myDouble = 0.99;
Character:
char myChar = 'A';
Character array:
char_array(2) myCharArray(a, b);
Boolean:
bool myBoolean = true;
String:
str myString = "Message";
Last updated
Was this helpful?