I wrote a small subroutine to right justify a field.  I started scanning
left at the end of the field and counted spaces until I found a non-blank
character.  Then I subtracted the number of blanks from the starting
address of the field (which was prefixed with spaces) and then moved the
data from that address to a new field.  Is there an easier way to do this?

Regards,
John K

Reply via email to