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>clfunc declare a function name</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CLfunc             Declare a function name


Syntax:        CLfunc ftype NAME <ptype p1, ptype p2, ...>

Description:   Declares a function.  The function type determines how
               the specified value will be returned to Clipper in the
               subsequent call to CLret.  Allowable function types
               (ftype) are char, int, long, double, log, date, and
               void.  The void type is for functions that return no
               value at all.  Allowable parameter types (ptype) are
               char, int, long, double, log, and date.

               Note: NAME must be upper case.

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

        CLpublic <BIN2I>
        CLfunc int BIN2I <char str>


See Also: CLpublic CLret

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