Version 2
RTP Series - RTP19
VERBatim - V22
Reader's Clinic - Scaled Masked Decimal Conversions
VROOM - Window Processing II
Base Conversions
IConvs / OConvs
User Defined Conversions
Merge Processor
RTP Series - RTP19
VERBatim - V126
Esc.To.Exit
Uncommon Knowledge - WC_WST_CHAR%
@ATTACK - @Return.Value
Argument passing - Subroutines and Functions - Mike Pope
Caching in on the Frames Array - Mike Pope
QTIPS - Fast Dynamic Array Building
Creating Your Own Background Processes
@ATTACK - @Last.Select.Process
Reader's Forum
QTIPS - Menu Item Pre-Processing
QTIPS - Break-On Date Fields
IConvs / OConvs
Catalyst
@ATTACK - @Ans
QTIPS - Compiling Work around on runtimes
QTIPS - Potential Problem When Using @ANS
Reader's Clinic - Page Marks in Windows

RevMedia FKB

DocumentV1I2A13
TitleRTP Series - RTP19
KeywordsRTP19
OCONV
PICK
TextOCONV processor Has following undocumented (and not very useful) features
left in for PICK COMPATIBILITY

U50BB Bug (doesn't work)
U10DD Returns SERIAL()
U60E0 Returns @CRTWIDE
U70E0 Turns echo on
U80E0 Turns echo off

OCONV permits multiple data values separated by value marks Thus to OCONV a
dynamic array of dates it is not necessary to process each date in turn
rather the entire array can be OCONVed i e

@ANS OCONV(DATE ARRAY "D2/E")

Similarly OCONV allows CONVERSIONS to be stacked separated by value marks
Thus the expression

PRINT OCONV(600000 "MD2": @VM : "D2/E")

would print "04/06/85" as the 600000 would first be MD2ed to 6000 and then
D2/Eed to 04/06/85

Note that both data values AND CONVERSIONS can be stacked but if this is
done the stacking is not performed in a one to one manner rather each data
value is taken and converted through each of the CONVERSIONS before the next
data value is touched thus

VALS = 600000 : @VM : 600100
@ANS = OCONV(VALS "MD2" : @VM : "D2/E")

would return @ANS equal to :04/06/85" : @VM : "05/06/85"

Remember that OCONVing can be accomplished by implicit formatting much in
the same way that data formatting can be explicit or implicit (i e PRINT
FMT(A "L#10") is functionally equivalent to PRINT A "L#10") Thus PRINT D
"D2/E" is identical to PRINT OCONV(D "D2/E") except that it is a lot easier
to code!


(Volume 1 Issue 2 Page 8)
[revmedia/copyrigh.htm]

Page last modified: 30/01/03