Page 2 of 2

Re: Convert PIC S9(004) COMP to character

PostPosted: Wed Aug 22, 2012 10:27 pm
by tivrfoa
Robert Sample wrote:Move the individual variables, NOT the group level. Moving the group level will NOT convert the binary data. Your WRITE FROM is a group-level move, hence the binary data will not be converted to display format.

It worked!!! :D
Sorry, I didn't know it.

MOVE TPO TO T-TPO
MOVE CLS TO T-CLS
MOVE SCL TO T-SCL
MOVE SEQ TO T-SEQ

And in the FILE SECTION can be both Z or 9, with Z eliminating the leading zeros.

Thanks folks. :)