Progress
External Program
Interfaces


prordr() - Read RECID Variable

The prordr() function reads the value of a shared RECID variable.

On successful completion, prordr() returns 0; otherwise, it returns a non-zero value:

SYNTAX

int 
prordr ( psymnam, index, pvar, punknown )
  char *psymnam;
  int   index;
  long *pvar;
  int  *punknown; 

psymnam

This input parameter points to the name of the specified shared RECID variable. You supply the name from your Progress application.

index

This input parameter specifies an index value for an array variable. If the variable is not an array, you must set the value of index to 0.

pvar

This output parameter points to a long where prordr() returns the value of the specified RECID variable.

punknown

This output parameter points to an integer where prordr() returns 1 if the variable has the unknown value (?), and returns 0 otherwise.

SEE ALSO

prordc() - Read CHARACTER Variable, prordd() - Read DATE Variable, prordi() - Read INTEGER Variable, prordl() - Read LOGICAL Variable, prordn() - Read DECIMAL Variable, prowtr() - Write RECID Variable


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095