×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi Derek,
ABC 10
xyz 2 0
I am doing a MOVEL operation to move this value to the numeric field.
Now if i have the value of ABC = 1, then the value passed on to XYZ is
10(Since it moves 1 from left, and initial value of XYZ is 00)
You're absolutely right. MOVEL is the wrong tool for the job. In fact,
IMHO, MOVEL is an absolutely useless opcode.
In fixed format (I assume you're using fixed format, since MOVEL is
considered deprecated, and wasn't added to free format!) you can do the
following:
C eval xyz = %int(abc)
- or -
C eval xyz = %dec(abc: 2: 0)
You can do the same thing in /FREE, as well, by removing the C from
column 6, and adding a semi-colon to the end.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.