Dimn


Synopsis

Sets the dimensions of a structured field.


group Dim0<NEcolor1=0xffff00> {/* 0-dimensions structured field */
int ndim = 0;
};

group Dim1<NEcolor1=0xff> { /* 1-dimensions structured field */
int ndim = 1;
};

group Dim2<NEcolor1=0xff00> {/* 2-dimensions structured field */
int ndim = 2;
};

group Dim3<NEcolor2=0xff0000> { /* 3-dimensions structured field */
int ndim = 3;
};

Description

The Dimn field subtype sets the dimensions of any structured field.

For example, saying:

Field_Struct+Dim3

establishes a three dimensional structured field.

Files

v/fld.v

See also

Not applicable.