1testing func calls
2
3Testing register strfunc
4<?cs var:test_strfunc(Foo) ?>
5<?cs var:test_strfunc("Foo" + Foo) ?>
6
7
8<?cs var:test_strfunc((5,2)) ?>
9<?cs var:test_strfunc((5,2) + 2) ?>
10
11testing passing expressions to builtins
12<?cs loop:x = 0, 20, 2 ?>
13 <?cs var:abs(x - 5) ?>
14<?cs /loop ?>
15
1625: <?cs var:max(20-5, 20+5) ?>
1715: <?cs var:min(20-5, 20+5) ?>
18
196: <?cs var:string.length("foo" + "bar") ?>
20
2125: <?cs var:max(20-5, 20+5) ?>
22
234: <?cs var:subcount(Foo.Bar["Baz"]) ?>
24Baz: <?cs var:name(Foo.Bar["Baz"]) ?>
25
26oba: <?cs var:string.slice("foo" + "bar", 5-3, 2+3) ?>
27
28first/last only run on local vars, which can't be created by expressions
29
30
31