Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>updated()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
UPDATED()


Syntax:     UPDATED()

Purpose:    To determine if a change was made to any of the pending GETs
            during the last or current READ.

Returns:    A logical value.

            UPDATED() returns true (.T.) if data in a GET is added or
            changed.

Usage:      Each time READ executes, it resets UPDATED() to false
            (.F.).  Note that within a READ, a change to any GET sets
            UPDATED() to true (.T.).  Subsequent testing of UPDATED()
            within a SET KEY procedure or VALID reflects this status.

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   USE Accounts
   m_id = id
   @ 1,0 SAY "Enter new ID";
      GET m_id
   READ
   IF UPDATED()
      REPLACE Id WITH m_id
   ENDIF


See Also: @...SAY...GET READ

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson