Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>update...if pseudo-function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  UPDATE...IF                                               Pseudo-Function
 Purpose..: Update an item only if another is true
-------------------------------------------------------------------------------
 Syntax...: UPDATE <uIt1> IF <lTrue> [ TO <uIt2> ]

 Arguments: <uIt1>    = a item to be updated.

            <lTrue>   = an item which is checked to ensure
                        it is true.

            [<uIt2>]  = the value to which <uIt1> is set.

 Remark...: The command is a #translate function.

               #command UPDATE <v1> IF <exp> TO <v2> ;
                     => ;
                  iif( <exp>, <v1> := <v2>, NIL )

            You must have a #include "FW_AIDS.CH" statement in your
            source code file to use the command.

 Source...: FW_AIDS.CH
-------------------------------------------------------------------------------
 Example..: To show the command, the object is to
            be updated if lBobaloo is true.
            ...
            UPDATE  oBob IF lBobaloo TO oBowser


See Also:

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