home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / trl14db.zip / TRLPRG.EXE / SEG.PRG < prev    next >
Text File  |  1990-10-22  |  454b  |  21 lines

  1. ***********
  2. * SEG.PRG
  3. * by Tom Rettig and Leonard Zerman
  4. * Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
  5. *
  6. * SYNTAX: DO SEG WITH <memvar name> 
  7. * RETURN: <expC> variable's segment address as a hex string
  8. ***********
  9. PARAMETERS par1 
  10. CALL Trpass WITH &par1
  11. CALL Trexe  WITH "SEG"
  12. CALL Trexe   WITH "TRRETCLEN"
  13. IF fox
  14.    PRIVATE tr_temp
  15.    tr_temp = SUBSTR(tr_retc,1,tr_retn)
  16.    RETURN (tr_temp)
  17. ENDIF
  18. * eof seg *
  19.  
  20.  
  21.