Skip to content

SPtr

Return current stack pointer.

Declaration

Source position: systemh.inc line 1615

function SPtr : Pointer;

Description

Sptr returns the current stack pointer.

Errors

None.

See also

Name Description
SSeg Return stack segment register value.

Example

program Example64;

{ Program to demonstrate the sptr function. }

var p:pointer;

begin
  p:=sptr; { P Contains now the current stack position. }
end.