|
x += 1 was always counterintuitive to me, but I never liked the difference between ADD with and without a factor 1. -----Original Message----- From: Ken Slaugh [mailto:ken.slaugh@cm-inc.com] Sent: Wednesday, May 12, 1999 1:34 PM To: 'MIDRANGE-L@midrange.com' Subject: RE: CF -Specs (was: "x-Spec") I still like: C ADD 1 X Ken Slaugh Senior Programmer/System Analyst AS/400 Professional Network Administrator/MSE Specialist - Client Access/400 Chouinard & Myhre, Inc. > -----Original Message----- > From: John Hall [SMTP:jhall@hillmgt.com] > Sent: Wednesday, May 12, 1999 12:49 PM > To: MIDRANGE-L@midrange.com > Subject: Re: CF -Specs (was: "x-Spec") > > Non-AS400 programmers that have seen the eval statement say it reminds > them of basic > > 10 LET X=X+1 > > The comments usally run along the lines of "that's pretty primitive > isn't it ?" > > primitive = !cool; > > And while we're on the subject I think unary operators would be a good > thing to have > > x++ > x += 1 > > > John Hall > Home Sales Co. > > Colin Williams wrote: > > > > I personally prefer to see a reserved word, just because you know > what > > to expect then. Also makes it easier if you are using code analysis > > tools over your source. > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.