Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > WIDEPIC

 

 

Purpose

WIDEPIC edits wide or numeric characters according to a mask.
 

Syntax

WIDEPIC (operand,mask)
 

Operation

operand is any valid wide or numeric constant, variable, or expression to be edited.
mask
 is any valid alphanumeric constant, variable, or expression representing the mask.  In a wide character edit mask, use either X or Y as the replacement character (e.g. 'XXXXX').
 

Remarks

If operand is a valid wide constant, variable, or expression, each character in mask is used as an edit mask for each wide character (two bytes) in operand. A formatted wide value is then returned.

If operand is a valid numeric constant, variable, or expression, the numeric value is edited to the format specified in mask. The value returned is a wide character string representing the wide display form of the edited value.
 

Comment on this topic

Topic ID: 520137