home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / toolkit / rexx / api / rexxcalc / whole.cal < prev   
Text File  |  1996-11-19  |  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.