|
Text-oriented keywords |
Top Up Down
A A |
$Print = expression (display on screen)
a value to be displayed on the screen for information purposes. This is useful for debugging keyword lists or getting immediate notification of unusual data values.
E.g.,
$If = (DATUM>4)
$Print = "Unexpectedly large data values in file" ; this shows on screen
$Print = "Value of datum is "+datum ; this tells you the unexpected value
$Endif
$Spec = expression (put directly into $Spoutput file once)
a value to be written into the output specification file. This enables you to add specifications directly to the Facets specification file, before any lines of data are processed.
E.g., you want to add some specifications into the Facets file:
$Spec = "Title = Rorschach Blob Test"
$Spec = "Positive = 1" ; Facet 1 is positively oriented
$Text = expression (put into $Spoutput file, each time encountered)
a value to be written into the output specification file. This enables you to add specifications directly to the Facets specification file, while lines of data are being processed.
E.g., you want to add some specifications into the Facets file:
$If=($L=1) ; only do this once when the first data line is processed
$Text = ";"+$S23W10 ; take some information of the first data line, and
; make it a comment in the Facets specification file
$Endif
Variable = expression (calculate a value)
Any word starting with a letter and placed before an = sign, i.e., where a keyword is expected, is assumed to be the name of a variable. The variable is assigned the value of the expression following the = sign. E.g.,
X=1 assigns to variable X the numeric value 1.
MM="Mike" assigns to variable MM the characters Mike.
Variable names must start with a letter and be composed only of letters and numbers, e.g., ZQX3 is a valid variable name. Choose meaningful variable names, such as ITEM to hold an item number, or ZQX3 for "Zarathrustra Q. Xerxes III".
Blank lines (use as spacing to ease reading keyword files)
are ignored. Use them to space out your keywords for clarity.
; (followed by comments)
starts a comment. Everything following a ";" is ignored. Use these to tell yourself what your keywords are doing.
Blank spaces (using as spacing within lines)
are ignored except between " ". Use blanks to indent $DO= and $IF= keyword lists.
Help for Facform Rasch Measurement Software: www.winsteps.com.