Contents
Welcome
App Overview
Downloads
More Languages
Custom Layout
Custom Skin
Scripting
|
Scripting Language of the Configuration Files.
All configuration files are written in the same simple scripting language.
- Whitespace are spaces, tabs, newline and return-caret characters ("\n", "\r") and also
equal signes ("="). The reason for equal sign to be a whitespace is so that parts of the
script can be written more sensibly such as
NAME = US.
- Tokens consist of anything that is not a whitespace. (e.g. A, abc, hElLo:, wee_hee, etc)
- Tokens are separated my whitespace.
- The "#" symbol indicates a comment to the end of a line.
- Numerical values can be of 2 types:
- decimal - e.g. 1, 2, 123, 500432327189, etc
- hexadecimal - e.g. 0x12, 0x5AB4F, 0xFF44CC, etc (i.e. they are preceeded by "0x")
Here is an example script file:
TOKEN1:
5 3 45 12 8 12 9
HERE_ARE_SOME_MORE_NUMBERS: #this is a comment! not a token!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
AND_SAME_ONES_IN_HEX: #this is also a comment...
0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF 0x10 #so is this... a comment!
SOME_TOKEN = 12 #this line has 2 tokens: SOME_TOKEN and 12; = is considered whitespace and is ignored.
#and this comment will say: "it's the end of file!"
|