Hi Rex,

Interesting, never tried it before.  I've only used it when I've had stuff
that wouldn't go directly into EQU such as @(-1) in MvBASE.  In that case I
did:

CCLR = @(-1)
EQU CLR TO CCLR

Wonder if

EQU VALID.CC.TYPES TO CHANGE('A.B.D.M.S.V','.',@VM)

Would work or error out.....?

        *=aee=*
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rex Gozar

Allen,

In your example, you use a variable in an EQUATE statement.  This
references the variable's pointer, not its value.  So the code:

TEMP = CHANGE('A.B.D.M.S.V','.',@VM)
EQU VALID.CC.TYPES TO TEMP
TEMP = "SOMETHINGELSE"       ;* change TEMP's value
DISPLAY VALID.CC.TYPES

will display "SOMETHINGELSE", not the valid cc types as intended.

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

Reply via email to