|
S/He doesn't like extra lines of code? Good for her/him. Now, please just change your message. My experience is that positive messages are better than negative messages. Why tell the user what s/he can't do? S/He needs to know what s/he CAN do, not what s/he can't do. Make the message positive, something like "You must key a value from "A" through "Z". Why are you insisting on inserting redundant code? --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 03/16/04 17:39:35 To: RPG programming on the AS400 / iSeries Subject: RE: Is this the University of Midrange.com? (was Re: Comp in DDS) I wanted to code against a blank, but when a blank is entered, you get the Comp GE A message. It may seem extremely trivial I agree. But my leader questions every I mean every 'extra' line of code as if it were coming out their personal pocket. > -----Original Message----- > From: Tom Liotta [mailto:qsrvbas@xxxxxxxxxxxx] > Sent: Tuesday, March 16, 2004, 3:12 PM > To: rpg400-l@xxxxxxxxxxxx > Subject: RE: Is this the University of Midrange.com? (was Re: Comp in DDS) > > rpg400-l-request@xxxxxxxxxxxx wrote: > > > 2. Re: Is this the University of Midrange.com? (was Re: Comp in > > DDS) (simafrog) > > > >I am completely entitled to ask whatever I want to on this mailing list as it > pertains to the RPG language. > > Of course, since the question pertains to DDS and not RPG, there's confusion > on both sides. > > > >If you try to do COMP GT 'A' in DDS and then try to enter a blank you will > get the message that the 'Value must be greater than A'. > > The other confusion is that this is exactly what's supposed to happen because > *blank is not greater than 'A'. You coded COMP GT 'A' and then tried to enter > something less than 'A' and got the message. > > The message is telling you that you're not supposed to enter something less > than 'A', such as a *blank. It's telling you it has to be greater than 'A' > Since it's working exactly as it's supposed to work, nobody can figure out > what question you're asking. > > It seems that you might be asking how to code DDS to allow either characters > greater than 'A' or a *blank. Is that what you want? > > Tom Liotta > > > -- > Tom Liotta > The PowerTech Group, Inc. > 19426 68th Avenue South > Kent, WA 98032 > Phone 253-872-7788 x313 > Fax 253-872-7904 > http://www.powertech.com
As an Amazon Associate we earn from qualifying purchases.
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.