File: script.sdf

package info (click to toggle)
sdf 2.001%2B1-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,140 kB
  • sloc: perl: 18,543; sh: 31; makefile: 29
file content (13 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This file tests the script filter

!block define
Name    Value
xyz     42
abc     "My favorite station"
!endblock

!block script
for $igc ('xyz', 'abc') {
    print "variable $igc is $var{$igc}.\n";
}
!endblock