File: test.24

package info (click to toggle)
libdap 3.20.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,568 kB
  • sloc: cpp: 50,809; sh: 41,536; xml: 23,511; ansic: 20,030; yacc: 2,508; exp: 1,544; makefile: 990; lex: 309; perl: 52; fortran: 8
file content (17 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- perl -*-
#
# Test aliases

Attributes {
    var1 {
        Int32 x 14;
	Int32 y 15, 16, 17;
	component1 {
	    Float64 g 6.02e23;
	    String name "A part of the whole";
	}
    }
    
    # Alias `var2' to the existing `var1.component'.
    Alias component2 var1.component1;
}