home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / rexx / api / rexxcalc / whole.cal < prev   
Text File  |  1999-05-11  |  227b  |  5 lines

  1. /* Validate a Rexx whole number */
  2. parse arg number                       /* get the number             */
  3. call lineout 'd:\rexxcalc\calc.log', number
  4. return datatype(number, 'Whole')       /* return the validation      */
  5.