KPG1_AST2H

Copies AST_ data to an HDS object

Description:

This routine copies a line of text representing AST_ data into a specified element of a one-dimensional character array. It is intended for use when writing AST_ data to an HDS object (i.e an HDS _CHAR array).

Invocation

CALL KPG1_AST2H( DATA, ILINE, LINE, STATUS )

Arguments

DATA( ) = CHARACTER ( ) (Given and Returned)
The character array into which the text is to be copied.
ILINE = INTEGER (Given)
The index of the element in DATA which is to receive the text (the contents of other elements are returned unchanged).
LINE = CHARACTER ( ) (Given)
The line of text to be inserted.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

This routine departs from the conventional argument order so as to accommodate the case where the DATA argument is a mapped HDS character array.