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>clcode initializes function</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CLcode             Initializes function


Syntax:        CLcode

Description:   This macro must be called before the body of the
               function.  At runtime, PCOUNT is set to the number of
               incoming parameters.  Missing parameters and parameters
               of wrong data types are set to zero.


----------------------------------- Example --------------------------------

   The following is the source code to the BIN2I() function:

        CLpublic        <BIN2I>
        CLfunc int BIN2I <char str>

        CLcode
                les     bx, str
                mov     ax, es:[bx]

        CLret   ax

See Also: CLfunc CLret PCOUNT

Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson