|
|
C also allows you to create user-defined data types using structures and typedef. (For information about structures in C, see [ 6].) An example of a structured list definition is shown below.
|
|
typedef can only be used for compiled UDFs.
|
Example
typedef struct list{int a;
real b;
int c;} mylist; /* mylist is type structure list
mylist x,y,z; x,y,z are type structure list */
|