help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

Sptr

Return current stack pointer

Declaration

Source position: systemh.inc line 708

function Sptr: Pointer;

Description

Sptr returns the current stack pointer.

Errors

None.

See also

SSeg

  

Return stack segment register value.

Example

program Example64;

{ Program to demonstrate the sptr function. }

var p:ptruint;

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505