#include <menu.h>
Public Attributes | |
const char * | str |
string form of the argument | |
long | i |
integer form of the argument (if a number) | |
float | f |
floating point form of the argument (if a number) |
argument passed to a menu function
Space-delimited arguments are parsed from the commandline and separated into these structures.
If the argument cannot be parsed as a float or a long, the value of f or i respectively is undefined. You should range-check the inputs to your function.
Definition at line 35 of file menu.h.
float Menu::arg::f |
long Menu::arg::i |
const char* Menu::arg::str |