procedure
A function to add user-defined elements to a channel structure.
channel.customize (<channel>) { <data_block> }
The function has an associated data block defining the new elements. This data block is a sequence of language statements,each of the form:
<type> {<element>{[<num>]} {= <values>} }
where:
<type>
The identifier type.
<element>
The element name,
unique for the structure.
[<num>]
The array dimension
if the element is an array. num may be omitted from variable-length arrays.
<values>
Initial value(s)
for the element.
<element> can be omitted when <type> is another class of structure. In such cases the members of <type> are inherited by the new structure and given the same element names. If <type> is a filter, its value must be a single line definition.
The new structure elements cannot be graphic elements.
This function is valid only for open channels, and cannot be changed by the user.
The procedure may be called in one of two ways:
# Assume mychan is the channel identifier. channel.customize(mychan)
or
mychan.customize()
open mychan,-if=myfile.dat mychan.customize { string ftype = 'flat file' }