aboutsummaryrefslogtreecommitdiff
path: root/tests/i/multifile-functions-globals/program.cps
blob: e5e6a6c864a5536dd0b79a1d4021d805b2fb80f7 (plain)
1
2
3
4
5
6
7
8
9
10
11

INCLUDE "lib.cps"
OUTPUT Add(1, 2)
OUTPUT Counter, ":", Label, ":", Enabled, ":", Initial, ":", Ratio = -1.5
CALL Increment()
OUTPUT Counter
CALL Shadow()
OUTPUT Counter
DECLARE Counter : INTEGER
Counter <- 99
CALL Increment()
OUTPUT Counter, ":", ReadCounter()