Maybe that was a Microdata "rule", because I was taught the same exact thing!
-Dianne

Bill Haskett wrote:

Charlie:

It's funny you should raise Microdata.  I was taught to never use EQUATEs
unless I wanted to create a relationship between both sides of the equation.
e.g I'd use the following:

EQUATE APFILE$CUSTDATE TO APFILEREC(1)

This would allow me to manipulate either side of the equate and know both
sides would maintain their common value.  I could MATREAD the APFILEREC and
would know that the variable APFILE$CUSTDATE would be assigned
appropriately.  I could change the variable APFILE$CUSTDATE and know the
record array would be updated simultaneously, so I could then just MATWRITE
the APFILEREC and be done with it.

However, with "EQUATE VM TO CHAR(254)" there is no such relationship, so I
was taught not to do this as it wasn't the intention of the statement (even
though I could).  I think I was taught by someone who was very particular
about these kinds of things.  :-)

Bill
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to