[↑]
SmileBASIC4 Replica Reference
TYPEOF
Find the value type

TYPEOF(Value)

Argument

Value

The value whose type is to be examined

Return Value

Depending on the value type, one of the following numbers is returned:

0 Default Type #T_DEFAULT
1 Int type #T_INT
2 Real Type #T_REAL
3 String Type #T_STR
5 Int Array #T_INTARRAY
6 Real Array #T_REALARRAY
7 String Array #T_STRARRAY

・The default type is a special type that is set when an argument is not specified in a function/command call.

About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the official reference site of the SmileBoom Co.Ltd. that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it. For automatic update, contents may become improper.
Please confirm the correct content in an official site.

June 3, 2020
by mim
OK
|