|
Suggestion: Facform is complicated. Excel may be easier for building Facets specification and data files.
Facform Keyword
|
Purpose
|
$Again
|
end a loop
|
$Batch
|
run in batch mode
|
$Do = (expression)
|
start a conditional loop
|
$Do = number
|
start a loop
|
$Else
|
or else, conditionally
|
$Elseif = (expression)
|
$Else followed by $If
|
$Endif
|
end of conditional section
|
$Facets = number
|
number of facets in data
|
$Flabel = number,name [,codes]
|
name of facet
|
$Given = Yes
|
all labels given in $Spinput file
|
$If = (expression)
|
perform conditionally
|
$Input = name
|
input data file
|
$Label = facet [, element number] [, element name] [, "anchor value+","+"group"]
|
element labels
|
$Length = number
|
fixed length data lines
|
$Length = 0
|
standard DOS input data lines
|
$Nextline
|
go on to next input data line
|
$Output = name
|
Facets-format data
|
$Print = expression
|
display on screen
|
$Rating = number [, replications]
|
datum value
|
$Separator = "value"
|
separator character in a variable length or CSV file
|
$Spec = expression
|
put directly into $Spoutput file once
|
$Spinput = name
|
previous Facets specifications
|
$Spoutput = name
|
Facets specifications
|
$Text = expression
|
put into $Spoutput file, each time encountered
|
Operator
|
Purpose
|
;
|
followed by comments
|
"..."
|
text
|
( )
|
arrange order of expression evaluation
|
+
|
concatenate
|
+-*/^
|
plus, minus, times, divide, exponent
|
><=
|
greater, less, equal
|
&|
|
and, or
|
Blank lines
|
use as spacing to ease reading keyword files
|
Blank spaces
|
using as spacing within lines
|
number
|
numeric value
|
Variable = expression
|
calculate a value
|
Substring
|
Purpose
|
$A????
|
treat as UPPER case, alphabetical
|
$Cnnn
|
locate Comma-Separated value
|
$G
|
the current line-group number
|
$I????
|
treat as an integer value
|
$L
|
use the current line number
|
$N????
|
convert into a number
|
$Q????
|
put value between ""
|
$SxxEyy
|
start and end in input data line
|
$SxxWww
|
start and width in input data line
|
$Tnnn
|
locate Tab-separated value
|
$U????
|
unquote, remove from ""
|
|