----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G. Sent: Tuesday, December 20, 2005 8:41 AM To: [email protected] Subject: Re: [U2] Using Esc
>> We've had code in place for nearly 20 years to >> handle, at least a little >> bit, this type of problem. In fields with lots of >> text, we call a sub >> for the input that permits most of the editing >> commands found in line >> editors (e.g. c/x/a/, append, etc.) Not a great >> solution, but better >> than retyping all the text. > > I've always coded in MV using input handling routines. > The arrows are supported to move about in the input > field. > > I worked with a client a while back and their > application only used the BASIC INPUT statement. This > caused some garbage data to occasionnally appear in > their files. I had the same problem at a prior job, causde by the intense aversion the original programmers seemed to have to input validation of any sort. Mostly it was caused by users doing copy/paste, where the copied data had control characters in it. And then there was the entry of "codes" which didn't exist in the appropriate codes file ... :( > I was quite surprised to see that not everyone uses > some kind of input handling routine. That client's > application wasn't particularly well written either. > There were gosubs being exited with GOTO's. > Occasionnally a stack overflow error would appear in > the Universe error log file. I don't even want to get started on the evils of returning from a GOSUB via any method but RETURN (using a flag setting to redirect from that point). -Keith ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
