basic.oconv

Function/BASIC Program, Releases: AP and R83

Output conversion function.

Syntax

oconv(string.expression, conv.expression)

Description

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

Example

print oconv(check.amount,'mr2')

This example converts 'check.amount' to external format, using the
'mr2' conversion. (See the 'm (mask)' processing code.)

print oconv(check.date,'d')

This example converts 'check.date' to external format, using the
'd' conversion. (See the 'd (date)' processing code.)

See Also

Command Name Type Description
basic.statements Definition Definition of statements and functions.
basic.iconv Function Input conversion function.
basic.masking.function Definition Performs formatting of output data values.
basic.time() Function Returns current time in internal format.
pc.translate Processing Code Translate function.
tcl.set-date-std Verb: Access Toggles date display to mm/dd/yy format.
pc.text.extract Processing Code Text extraction function.
basic.conv.expression Definition An expression which evaluates to a valid processing code.
pc.mc Processing Code Mask character functions.
tcl.date Verb: Access Converts dates to various formats.
pc.m Processing Code Mask numeric/string functions.
basic.functions Definition elements in FlashBASIC or Pick/BASIC language expressions, returning a single value in place, as a function of the arguments. A function can be used anywhere a variable or expression is used.
basic.user.exits User Exit List of Pick/BASIC user exits.
pc.d Processing Code Date conversion.
pc.mp Processing Code Converts decimal to packed decimal and back.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.