How to get an INPUT ALFAVAR (AD=MYRT'_') right justified?

I would get my ALFAVAR(A2) right justified .

RESET CV-VAR
INPUT ALFAVAR (AD=MYRT’_’ CV=CV-VAR) → (ALFAVAR='1 ')
DISPLAY ALFAVAR (EM=H(2)) —> (F140) Left just
END

How can I get (40F1) right justified ?

As long as you do not modify the value on the screen the variable will not change.
Try to modify it to ’ 2’ and you will see it will print as 40F2.

When you enter just ‘2’ you will get F240 as well, because AD=R only affects the on-screen display value, nothing else.

If you require it right justified at any rate you will need to MOVE RIGHT after the INPUT.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.