Hi Charles,
using your example above I changed:
'
'dim as pixel4f {single r,g,b,a} pixel
type pixel4f {single r,g,b,a} : pixel4f pixel
'dim as materialf {pixel4f ambient,diffuse, specular, single shininess} material[16]
type materialf {pixel4f ambient,diffuse, specular, single shininess} : materialf material[16]
this works and I think it is easier to understand.
Roland