YNA Type

From Lundman Wiki
Revision as of 17:07, 14 October 2005 by Lundman (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.