|
If memory serves me correctly, COBOL had a feature to assign multiple variables the same value. But it has been a number of years since I've seen any COBOL code. Joe Giusto II Programmer/Analyst Ritz Camera Beltsville, MD 301-419-3209 x347 410-813-2812 x347 -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com] On Behalf Of James David Rich Sent: Monday, June 18, 2001 4:43 PM To: RPG400-L@midrange.com Subject: Re: MOVEA -> EVAL On Mon, 18 Jun 2001, Jim Langston wrote: > > I have always thought, though, that there should be some method > of setting/clearing/initialing more than one variable at a time > in languages, but I don't think that's the answer. var1 = var2 = var3 = ... = varn = value is common across C, C++, java, bash, perl, blah blah. You mean there are moronic compilers that don't get this right? James Rich james@eaerich.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.