Element: channel.customize { }

Type

procedure

Description

A function to add user-defined elements to a channel structure.

Parameters

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:

<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()

Example

open mychan,-if=myfile.dat
mychan.customize {
    string ftype = 'flat file'
}