next up previous contents index
Next: Eof Up: Functions and Procedures Previous: Dispose

DSeg

   

Declaration:

Function DSeg : Word;

Description:

DSeg returns the data segment register. In Free Pascal, it returns always a zero, since Free Pascal is a 32 bit compiler.

Errors:

None.

See also:

CSeg, Seg, Ofs, Ptr

Example
Program Example17;

{ Program to demonstrate the DSeg function. }

Var
  W : Word;

begin
  W:=DSeg; {W:=0, This function is provided for compatibility,
                  FPC is a 32 bit comiler.}
end.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998