Next: , Previous: Record Constants, Up: Records



3.11.3 Accessing Fields Using “$

You access and assign record fields using the “$” (dollar-sign) operator. As indicated in the example above, for the record id we can access its orig_h field using:

         id$orig_h

which will yield the addr value 207.46.138.11.