The equate processor in jBASE is true text/macro replacement. I think that this would not work exactly the same in some versions of MV.
But this was a conscious decision when I wrote it, err 25 years ago... blimey. So, as it is a pre-processor: - Y is set to 6 - The Y in the Equate X is replaced with 6 and so X is 6 - Y is equated again - I always wondered if I should not issue a warning for that - The X in PRINT X is replaced with 6 So, perfectly logical. Jim On Thu, Apr 14, 2016 at 2:03 AM, Tuber <[email protected]> wrote: > What prints out? > > EQU Y TO 6 > EQU X TO Y > EQU Y TO 5 > PRINT X > > > > I thought the answer would be 5 because I thought EQU worked like a > pre-processor definition. ... Turns out it doesn't. > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
