Progress
External Program
Interfaces
prordd() - Read DATE Variable
The
prordd()
function reads the value of a shared DATE variable.On successful completion,
prordd()
returns 0; otherwise, it returns a non-zero value:SYNTAX
psymnam
This input parameter points to the name of the specified shared DATE 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.
pyear
This output parameter points to an integer where
prordd()
returns the value of year.pmonth
This output parameter points to an integer where
prordd()
returns the value of month.pday
This output parameter points to an integer where
prordd()
returns the value of day.punknown
This output parameter points to an integer where
prordd()
returns 1 if the variable has the unknown value (?), and returns 0 otherwise.SEE ALSO
prordc() - Read CHARACTER Variable, prordi() - Read INTEGER Variable, prordl() - Read LOGICAL Variable, prordn() - Read DECIMAL Variable, prordr() - Read RECID Variable, prowtd() - Write DATE Variable
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |