Re: END INPUT already!
Posted in 2000
---- you wrote: > Jonathan Leffler wrote: > > > > "Art S. Kagel" wrote: > > > > > steve farris wrote: > > > > > > > > Hello all, > > > > > > > > In the following code, should pressing accept /"escape" exit the input > > > > statement? I thought it would. > > > > > > Nope. > > > > > > > input by name c1,c2,c3 > > > > after field c3 > > > > next field c1 > > > > end input > > > > > > This says when you leave c3 goto c1 thereby remaining in the INPUT > > > statement. > > > > > > > Even better, simply use: OPTIONS INPUT WRAP ON. > > > > That wraps the input statement so that when the user exits > > the last field (downwards), the cursor goes back to the first field. > > OO OO! Looks like we both missed this one. Seems he must have WRAP ON > already since the complaint is that the form is staying in INPUT and not > exiting after the last field! He needs to turn INPUT WRAP OFF! I'm so > used to having WRAP turned on that I assumed that is default behavior. No, I've gotta say JL is right Dude, as ever. The Guy wanted the last field to loop to the first, but he couldn't use accept because of the next field. This is exactly what input wrap was designed for. AB ---------------------------------------------------------------- Get your free email from AltaVista at http://altavista.iname.com