[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

Sseg

Return stack segment register value.

Declaration

Source position: systemh.inc line 726

function Sseg: Word;

Description

SSeg returns the Stack Segment. This function is only supported for compatibility reasons, as Sptr returns the correct contents of the stackpointer.

Errors

None.

See also

Sptr

  

Return current stack pointer

Example

Program Example67;

{ Program to demonstrate the SSeg function. }
Var W : Longint;

begin
  W:=SSeg;
end.
The latest version of this document can be found at lazarus-ccr.sourceforge.net.