Data types:
- shint: short integer, [-32767, +32767], word, from -(2 pow 15) to (2 pow 15) -1
- char: char, byte, from -128 to 127
User defined data type:
dataType <dataTypeName> =
{
char c[15] = "My data type";
shint someNumber;
};
Assignment:
shint someInt = 15;
char c = 'D';
Input/output:
shout someInt; // outputs 15
shout "Where ya at?"; // outputs string "Where ya at?"
whisper someInt; // reads number from keyboard and assigns it to someInt
Conditional:
if (thisHoesAintLoyal == 1) {
shout "true";
else {
shout "false";
}
Loop:
from (1) to (15) do {
shout "Leeroy Jenkins";
}