-
Notifications
You must be signed in to change notification settings - Fork 3
E_InputTypes
Michael edited this page Jun 12, 2020
·
2 revisions
This is an enum representing the possible data types which may be accepted by an EmuInput box.
enum E_InputTypes {
STRING = 0,
INT = 1,
REAL = 2,
HEX = 3,
};
- A
STRING
will validate any text input. - An
INTEGER
will validate any whole number (positive or negative, including an exponent, e.g.2.1e5
in place of210000
). - A
REAL
number will validate any number at all (positive or negative, including an exponent). - A
HEX
number will validate any number written in base-16, which includes the numbers0
through9
as well as the lettersa
throughf
(case insensitive). Hexadecimal values may not have a fractional part.