Navigation:  Reference > Commands >

Format Field

Print this Topic Previous pageReturn to chapter overviewNext page

 

 

This command will format a numeric field for a specific look during output.

 

 

FORMAT fn/v Required - The name of the field to be formatted.  Must be a numeric field.

 

RECV fn/v   If you want to put the formatted numeric field in another field this is the name of the A type receiving field.

 

NEG sac L - Leading negative sign

       T - Trailing negative sign

       P - Parentheses

       C - Trailing CR

       A - Angle brackets.

 

NOCMA If this option is included the program will NOT include comma characters in the resulting formatted field.  The default is to include comma characters.

 

NOFD   If this option is included the program will NOT include a floating dollar sign in the resulting formatted field.  The default is to include a floating dollar sign.

 

NOZERO   If the field value is 0 don't output anything.

 

OFFTurn off any current formatting.

 

 

COMMENTS

If the formatted field will not fit within the display size, the command will return the field as is, without any of the formatting characters.

NOTE: To control display of fields in theTAS grid component you would use this command.

NOTE : When formatting an array you need specify only the major field name.

 

 


Page url: http://www.cassoftware.com/tas/manual/formatfield.htm