Moved int/float/typeof to the standard library

This commit is contained in:
arookas 2016-02-01 03:26:44 -05:00
parent be73c33069
commit 723b8b64c9
5 changed files with 14 additions and 62 deletions

View file

@ -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;