| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Return code segment
Source position: systemh.inc line 1141
function CSeg: Word;  | 
CSeg returns the Code segment register. In Free Pascal, it returns always a zero, since Free Pascal is a 32/64 bit compiler.
None.
  | 
Return data segment  | 
|
  | 
Return segment  | 
|
  | 
Return offset of a variable.  | 
|
  | 
Combine segment and offset to pointer  | 
Program Example13; { Program to demonstrate the CSeg function. } var W : word; begin W:=CSeg; {W:=0, provided for compatibility, FPC is 32 bit.} end.