3
Basic datatypes
Grandiras edited this page 2022-08-19 15:16:57 +02:00
Table of Contents
Object (base type)
Keyword
object
Binary operations
- nothing
Unary operations
- nothing
Conversions
- Explicit
- nothing
- Implicit
- (not implemented yet)
Integer (32-bit int)
Keyword
int
Binary operations
Addition(withInteger->Integer, withDouble->Double)Division(withInteger->Integer, withDouble->Double)Equal(withIntegerorDouble->Boolean)GreaterThan(withIntegerorDouble->Boolean)GreaterThanOrEqual(withIntegerorDouble->Boolean)LessThan(withIntegerorDouble->Boolean)LessThanOrEqual(withIntegerorDouble->Boolean)Multiplication(withInteger->Integer, withDouble->Double)NotEqual(withIntegerorDouble->Boolean)Substraction(withInteger->Integer, withDouble->Double)
Unary operations
Negation(Integer->Integer)
Conversions
- Explicit
StringObject
- Implicit
- (not implemented yet)
Double (64-bit float)
Keyword
double
Binary operations
Addition(withIntegerorDouble->Double)Division(withIntegerorDouble->Double)Equal(withIntegerorDouble->Boolean)GreaterThan(withIntegerorDouble->Boolean)GreaterThanOrEqual(withIntegerorDouble->Boolean)LessThan(withIntegerorDouble->Boolean)LessThanOrEqual(withIntegerorDouble->Boolean)Multiplication(withIntegerorDouble->Double)NotEqual(withIntegerorDouble->Boolean)Substraction(withIntegerorDouble->Double)
Unary operations
Negation(Double->Double)
Conversions
- Explicit
- nothing
- Implicit
- (not implemented yet)
Char
Keyword
char
Binary operations
Addition(withCharorString->String)Equal(withCharorString->Boolean)NotEqual(withCharorString->Boolean)
Unary operations
- nothing
Conversions
- Explicit
- nothing
- Implicit
- (not implemented yet)
String
Keyword
string
Binary operations
Addition(withCharorString->String)Equal(withCharorString->Boolean)NotEqual(withCharorString->Boolean)
Unary operations
- nothing
Conversions
- Explicit
- nothing
- Implicit
- (not implemented yet)
Boolean
Keyword
bool
Binary operations
And(withBoolean->Boolean)Equal(withBoolean->Boolean)NotEqual(withBoolean->Boolean)Or(withBoolean->Boolean)
Unary operations
Not(Boolean->Boolean)
Conversions
- Explicit
- nothing
- Implicit
- (not implemented yet)