external
-> Public
internal
-> Private
static
-> Static
pub
-> Public for used namespace
Name | Token |
---|---|
Equals | = |
Compare | == |
Not Equal To | != |
Greater then or equal to | >= |
Less then or equal to | <= |
Greater Then | < |
Less then | > |
Not | ! |
Add | + |
Subtract | - |
Exponent | ^ |
Divide | / |
// Your note here
These lines are not read by the parser
import IMPORT_TYPE DIRECTORY
local
-> File in your project
thirdParty
-> File from the web
global
-> File from different directory
namespace app.net.com
{
external class extends EXTENTION_CLASS
{
fx Main()
{
// MAIN FUNCTION
}
}
}
This function will be called on start
[Main = STRING];
This will change the main function that will be called on start
if(SITUATION){}
else if(SITUATION){}
else{}
try
{
// CODE
}
catch(ExceptionType VALUE)
{
// CODE
}
throw new exception(ExceptionType);
console.out.print(STRING);
console.out.printLine(STRING);
set x = VALUE;
set
will automaticaly assign a variable type based on the value. Note: This is a non static type.
TYPE x = VALUE;
Name | Type |
---|---|
Integer | int |
Float | float |
Double | dbl |
Boolean | bool |
String | string |
Character | char |
Set | Dynamic |
fx FUNCTION_NAME(TYPE name) -> RETURN_TYPE
{
// Do Stuff
}
new (Window)window = Window.instance.new(
{
title: STRING,
size: TUPLE,
3dRenderingMode: BOOLEAN,
Frame: BOOLEAN,
startFullscreen: BOOLEAN,
resizable: BOOLEAN
}
);
This will create a instance of the Window
builtin class
window.hint(HINT_TYPE, HINT_VALUE);
window
is your instance of the Window
builtin class. This will change the classes internal variables.
window.debug.log(STRING);
This will be shown when run threw the interperter window but not on the final build.