Previous: NF_DEF_OPAQUE, Up: Opaque Type
Given a typeid, get the information about an opaque type.
INTEGER FUNCTION NF_INQ_OPAQUE(INTEGER NCID, INTEGER XTYPE,
CHARACTER*(*) NAME, INTEGER SIZEP)
NCIDXTYPENAMESIZEPNF_NOERRNF_EBADTYPEIDNF_EBADFIELDIDNF_EHDFERRThis example is from nf_test/ftst_vars3.F.
C Use nf_inq_opaque and make sure we get the same answers as we did
C with nf_inq_user_type.
retval = nf_inq_opaque(ncid, typeids(2), type_name, base_size)
if (retval .ne. nf_noerr) call handle_err(retval)