Having created our structure we now want to put some values into it. This can be done by using the DAT_PUT and ?? routines. For example, to fill the main data array in the above example with values we might do the following:
Because this sort of activity occurs quite often, “packaged” access routines have been developed and are available to the programmer (see Appendix A). A complementary set of routines also exists for getting data from objects back into program arrays or variables; these are the DAT_GET routines. Again, packaged versions exist and are often handy in reducing the number of subroutine calls required.