home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a012 / 1.ddi / CHAP24.EXE / CHP2411.PRG < prev    next >
Encoding:
Text File  |  1991-04-30  |  464 b   |  21 lines

  1. /*
  2.    Listing 24.11  Bin2ul()
  3.    Author: Joe Booth
  4.    Excerpted from "Clipper 5: A Developer's Guide"
  5.    Copyright (c) 1991 M&T Books
  6.                       501 Galveston Drive
  7.                       Redwood City, CA 94063-4728
  8.                       (415) 366-3600
  9. */
  10.  
  11. //───── NOTE: must compile with the /N option!
  12.  
  13. function bin2ul(cLong)
  14. LOCAL jj:=Bin2l(cLong)
  15. if jj < 0
  16.    jj := abs(jj)+ 2147483647
  17. endif
  18. return jj
  19.  
  20. // end of file CHP2411.PRG
  21.