Or maybe not used at all.  The nested eval is not all intuitive.  I'll
take repetitive lines of code over that any day.

From the classic  "The Elements of Programming Style"..
   Write clearly - don't be too clever


AGlauser@xxxxxxxxxxxx 12/13/2006 11:02:07 AM >>>
Roger Harman wrote on 13/12/2006 01:57:30 PM:

Now, I'm confused.  And agreeing with Matt.

Yes, sorry about that.  My memory was foggy.  What (I think) works for

assigning the same value to two variables is:

value = 12;
var1   = (eval var2 = value)

That little eval is rather important, and I'm in agreement as well that

this is not something that should be used frequently.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.