Comparing record with original when saving - alternate

Kenneth Brody kenbrody at bestweb.net
Wed Jan 17 11:38:45 PST 2007


Quoting George Simon (Wed, 17 Jan 2007 14:28:27 -0500):

> Ken writes:
>
> > You can also use an array to save the original field values upon
> > entering update mode.  Here is a simple example that shows the
> > original and current value each time you leave a field.
>
> > @update
> >    6  Then: Count = "1"
> > loop     If: Count le numfield(-)
> >    7  Then: OrigVal[Count] = CurrVal[Count] ; Count = Count + "1" ;
> >               goto loop
> >    8  Then: screen
> >    9  Then: end  <--- Isn't this a little dangerous for the
> inexperienced?
[...]

I am assuming that your question was the one embedded within the
quoted text?

What's dangerous about "end"?

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list