Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_crtype http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_CRTYPE

SUMMARY
   d_crtype(rectype[,dbn])
   int *rectype;
   int dbn;

ARGUMENTS
   rectype     Pointer to an integer variable to contain the returned record
               type.

DESCRIPTION
   This function copies the record type of the current record into the
   integer variable pointer to be rectype.

CURRENCY CHANGES
    None

RETURN CODES
    -7      S_NOCR         The current record is null.

EXAMPLE
   int rtype;      /* record type */
   ..
   d_crtype(&rtype);
   if (rtype==AUTHOR)
     pr_author();
   else if (rtype==INFO)
     pr_info();

See Also: d_cmtype d_cotype

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson