Next: Methods on class ResourceDev
Up: Resource file .graperc
Previous: Resource file .graperc
A resource file is a plain ASCII file in the following syntax:
- #
- Comment. Every line beginning with a # is
commented out.
-
- Line continuation as in C.
- ident;
- Assign integer/real value 1 to identifier
ident. Everywhere ident = n; is allowed you can use ident;
for n = 1.
- ident = n0, n1, n2, ...;
- Assign integer/real values n0, n1,
n2, ... to identifier ident.
- ident = "xyz", "XYZ", ...;
- Assign string values ident =
"xyz", "XYZ", ... to identifier ident. As in C "ab" "cd" (=
"abcd"),
" n t 012 x12" are valid
methods to write strings.
- ident = { ... }
- Assign a group to identifier ident. Its
contents are of the prescribed syntax so groups can be nested recursively.
- INCLUDE = "xyz";
- Include the contents of a group defined
anywhere else.
Its interpretation is done by the calling class.
The identifiers of nested groups are written as a path.
SFB 256 Universität Bonn and IAM Universität Freiburg Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik,
Universität Bonn.