dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
well,
you can have sign leading with datatype display, but not comp.
you can have a decimal sign with datatype alphanumeric
(after moving the contents of variable 'A' to a field defined with an edit mask)
but, you can not have a datatype comp with a decimal point physically contained in the comp variable
there is not need to change the picture clause of variable 'A'.
just define a field in your output file definition that contains an edit mask as the picture clause, move variable 'A' to this new field.
since most edit mask definitions (yes, you need to go to the manual),
contain provisions for only a + or -,
you may need extra code to insert the 'missing' sign.
but don't worry about that now, you will understand what I mean when
you have read the manual. |
|