FREE_LUN

The FREE_LUN procedure deallocates previously-allocated file units . This routine is usually used with file units allocated with GET_LUN, but it will also close any other specified file unit. If the specified file units are open, they are closed prior to the deallocation.

Calling Sequence

FREE_LUN, Unit 1 , ..., Unit n

Arguments

Unit i

The IDL file units (logical unit numbers) to deallocate.

Example

See the example for the GET_LUN procedure.

See Also

CLOSE , GET_LUN