Control key types

From PMFLib Wiki
Jump to navigation Jump to search

Navigation: Documentation / Control file / Control key types


The control files contains keys and their values. Values might be one of following type:

Type Description
string This is a sequence of characters beginning with the second word on a keyword line and ending with the last word (the first word is a key). Space among words is included in the string without any modification. The whole sequence can be enclosed into quotation marks.
integer This is a sequence of number characters in a free format. Plain integer numbers as well as numbers in exponential form are supported. If the number contains the fractional part then the number is ignored and the keyword line is not marked as processed.
real This is a sequence of number characters in a free format. Plain real numbers as well as numbers in exponential form are supported.
logical This is a boolean value, which can have two values: true or false.
The true value can be entered as: on, ON, true, TRUE, T, 1
The false value can be entered as: off, OFF, false, FALSE, F, 0
Other entries are ignored and the keyword line is not marked as processed.
mask This is a string entry that is further processed as an ASL mask. The mask syntax is described here in details. Please note that a mask can contain star (*) or exclamation mark (!) characters, which are normaly used as leading characters of comments. In such a case, the string must be encompased by quotation marks.


Examples

fserver      "abf://skirit.ics.muni.cz:54356"  # this is a string

fmode           1                              # this is an integer number

fbeta         10.1234                          # this is a real number

frestart       on                              # this is a logical number

group_a       :1-6@CA                          # this is an ASL mask