Moved int/float/typeof to the standard library
This commit is contained in:
parent
be73c33069
commit
723b8b64c9
5 changed files with 14 additions and 62 deletions
stdlib
|
@ -5,7 +5,11 @@
|
|||
* 2015-2016 arookas
|
||||
\* ================================================= */
|
||||
|
||||
// return values for typeof(x)
|
||||
// casting
|
||||
builtin const int(x);
|
||||
builtin const float(x);
|
||||
builtin const typeof(x);
|
||||
|
||||
const TYPE_INT = 0;
|
||||
const TYPE_FLOAT = 1;
|
||||
const TYPE_STRING = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue