Copyright © 2024 Sebastiaan Heins
In this chapter, we will list and explore all the functions and variables Dosato has to offer!
sayln
can also be written as SAYLN
.
maxlong is a constant defined in the standard library, it is the maximum value of a long.
It's value internally is 9223372036854775807
minlong is a constant defined in the standard library, it is the minimum value of a long.
It's value internally is -9223372036854775808
maxint is a constant defined in the standard library, it is the maximum value of an int.
It's value internally is 2147483647
minint is a constant defined in the standard library, it is the minimum value of an int.
It's value internally is -2147483648
maxshort is a constant defined in the standard library, it is the maximum value of a short.
It's value internally is 32767
minshort is a constant defined in the standard library, it is the minimum value of a short.
It's value internally is -32768
maxbyte is a constant defined in the standard library, it is the maximum value of a byte.
It's value internally is 127
minbyte is a constant defined in the standard library, it is the minimum value of a byte.
It's value internally is -128
string typeof (var value)
Returns the type of the given value as a string.
bool isnull (var value)
Returns true if the given value is null, false otherwise.
long typeofint (var value)
Returns the type of the given value as a long.
long isnan (var value)
Returns true if the given value is NaN, or the value is not a number.
void throw (long error_code|string error_msg)
Throws an error with the given error code or message.