Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

Declaring an Icon record type

Tech Computer Center logo

To create your own record type in Icon, you must first define the names of the fields that go into the record.

Here is an example of a record type declaration:

    record complex ( r, i )
This defines a new record type named ``complex'' which is a container for two fields named ``r'' and ``i''. You might use this to represent complex numbers, where ``r'' is the real part and ``i'' is the imaginary part.
Next: Creating an Icon record object
See also: Creating your own record types in Icon
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman,
Last updated: 1996/01/06 21:12:57 UT
QR two-dimensional bar code