intn GRreadlut(int32 pal_id, VOIDP pal_data)
pal_id
IN:
Palette identifier returned by GRgetlutid
pal_data
OUT:
Buffer for the palette data
Purpose
Reads a palette.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
GRreadlut reads the palette specified by the parameter pal_id into the buffer pal_data.
Note that there are two FORTRAN-77 versions of this routine; one for numeric data (mgrdlut) and the other for character data (mgrclut).
FORTRAN
integer function mgrclut(pal_id, pal_data)
integer pal_id
<valid numeric data type> pal_data(*)
integer function mgrdlut(pal_id, pal_data)
character*(*) pal_data