YNA Type

From Lundman Wiki
Jump to: navigation, search

YNA TYPES.

Most switches in FXP.One take a value of type "yesnoauto_t". That means they can have the value of "YES", "NO" or "AUTO" and nothing else. You can always supply the actual strings to set a variable, for example, "PASSIVE=NO". The integer equivalent values are also supported. FXP.One will in general send the integer value in an attempt to limit the number of characters send/received for each command.

<int>      <meaning>
  0          NO
  1          YES
  2          AUTO

Most, if not all, YNA types default to AUTO. If their values are AUTO they are generally not printed or saved, in commands like SITELIST.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox