Sign in Join
FPDoc Onlineexperiment

SSeg function

In unit System

Return stack segment register value.

Declaration

pascal
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

Example: ex67

pascal
Program Example67;

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

begin
  W:=SSeg;
end.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.