qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Seg and Ofs Functions
  Summary Details Example                                   Back
 
  FUNCTION Seg( identifier : <variable, procedure, or function>
              ): Word;
  FUNCTION Ofs( identifier : <variable, procedure, or function>
              ): Word;
 
  Return the offset or segment address for a variable or routine
 
  Unit:      System (used automatically)
 
  See also:  Addr, CSeg, DSeg, Hi, Lo, New, Ptr, SPtr, SSeg