Example-Data-File-Content (my examples reference to this data):
DC-Code:
<frame>
pic: 0 state: 0 wait: 4 centerx: 39 centery: 79
<frame_end>
<frame>
pic: 0 state: 0 wait: 4 centerx: 139 centery: 79
<frame_end>
|
MIN(x)
sets the lower bound of an attribute/tag value. Example:
input reformatter: centerx: MIN(50)
DC-Code:
<frame>
pic: 0 state: 0 wait: 4 centerx: *50* centery: 79
<frame_end>
<frame>
pic: 0 state: 0 wait: 4 centerx: 139 centery: 79
<frame_end>
|
MAX(x)
sets the upper bound of an attribute/tag value. Example:
input reformatter: centerx: MAX(50)
DC-Code:
<frame>
pic: 0 state: 0 wait: 4 centerx: 39 centery: 79
<frame_end>
<frame>
pic: 0 state: 0 wait: 4 centerx: *50* centery: 79
<frame_end>
|
LIMIT(x;y)
combines MIN and MAX in one command. x lower bound, y upper bound.
input reformatter: centerx: LIMIT(10;90)
DC-Code:
<frame>
pic: 0 state: 0 wait: 4 centerx: *10* centery: 79
<frame_end>
<frame>
pic: 0 state: 0 wait: 4 centerx: *90* centery: 79
<frame_end>
|
Mathematical operations: input like "$+10" means its adds 10 to the value of the attribute/tag.
IMPORTANT: MIN,MAX,LIMIT DOESN'T SUPPORT MATHEMATICAL OPERATIONS:
MAX((5+5) ; 2*2) will not work
AND: a space between mathematical operations doesn't work ("5+5" works fine, "5 + 5" very baddd)
But the syntax highlighting helps you
And for very very special cases:
CEILING(x)
FLOOR(x)
TRUNCATE(x)
(Description in the program)