Re: how to translate to free format?



On Wed, 21 Jun 2006 04:04:55 +0000, Jonathan Ball wrote:

Kaj Julius wrote:

There are no MOVE operation codes in free format.
Instead, you use the EVAL op code. However, there also
are no field definitions in the calculations section,
so you need to create the target field in a data
specification (D-spec)



Well, it gets even better. In most cases you can even drop the Eval op code
and simply assign the value:

p@parm = s@outds;

I seldom use the eval op code these days.

Nor do I. For some reason, when I think about the
conversion from fixed-position specs to free-format, I
still think to code the EVAL; but when I write
free-format code from scratch, I never use it.



BTW. If you ever consider using your code internationally it is a very bad
idea to use a character like @ in variabel names.


Some special characters are fine e.g. @ translates across all languages
(it's commonly used in email addresses).

--
Jeremy Boden

.