7 testy = ["stuff",1,2,3];
\r
9 //attributes of PrintTesty
\r
10 </ name = "PrintTesty"
\r
11 description = "does some printy and testy"
\r
12 copyright = "the poor fool who wrote it" />
\r
13 function PrintTesty()
\r
15 foreach(i,val in testy)
\r
17 println("idx = ", i, " = ", val);
\r
21 //attributes of testy
\r
22 </ flippy = 10, second = [1,2,3] />
\r
27 foreach(member,val in Foo)
\r
31 if((attr = Foo.getattributes(member)) != null)
\r
33 foreach(i, v in attr)
\r
35 println("\t%s = <%s> %s".fmt(i.tostring(), typeof v, v.repr()))
\r
40 println("\t<no attributes>")
\r