previous next top contents index framed top this page unframed
Figure 32–81. cvAry (GENERIC)
| $BUILTIN PROCEDURE cvAry (POINTER p; PRODUCES ARRAY a); $BUILTIN PROCEDURE cvAry (ARRAY a; PRODUCES ARRAY b); |
cvAry converts an ARRAY or POINTER that points to a dynamic ARRAY to the type ARRAY.
The POINTER form converts a POINTER, which must point at a dynamic ARRAY, to the type ARRAY. The conversion is syntactic only; no actual copying or moving of elements is performed. Currently, no checking is performed that p in fact points to a dynamic ARRAY object.
The ARRAY form sets b to point at the same dynamic ARRAY as a.
MAINSAIL Language Manual, Section 32.81