oconv() function

The oconv() function converts a value from its internal format to its external equivalent, according to the processing code being applied.

Syntax

oconv(str.exp, conv.exp)

Parameter(s)

str.exp String to convert from its internal format to its external equivalent.
conv.exp Processing code used in the conversion.

Example(s)

This example converts check.amount to external format, using the "mr2" conversion.

print oconv(check.amount,"mr2")

This example converts check.date to external format, using the "d" conversion.

print oconv(check.date,"d")