Main
AutoGen
Pages
Home
Announce
FAQ
docs
XML Defs
testimonials
downloads
Automated
Options
AutoOpts
Comparison
Man example
Redistribute
Licensing
local use
using getopt
GCC's
Fixincludes
fixincludes
Automated
FSM
description
example
usagefsm
Addons
addon
Automated
XDR
xdr project
Here is a simple example. It decides whether or not the input properly represents a list of value ranges. The input syntax is approximately:
[[ '!' ] <lo-num>] ['-' [<hi-num>]] \ [',' [[ '!' ] <lo-num>] ['-' [<hi-num>]] ... ]If there is no hyphen, then a number must be present. You should not have more than one "bang" operator, but this FSM does not check for that.
This page contains:
See the usage page for a description of the attributes supported.
back to top