Threadvar

From Lazarus wiki
Revision as of 08:33, 1 March 2020 by Trev (talk | contribs) (English translation of German page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Deutsch (de) English (en)


Back to the reserved words .


The reserved word threadvarbelongs to thread programming. The declared (known) variable is visible to all functions and procedures of this thread.

Example:

  ...
  threadvar x : Integer ;
  ...