Is

From Lazarus wiki
Revision as of 09:07, 16 May 2020 by Kai Burghardt (talk | contribs) (remove “back to <some arbitrary page>” link, as there are multiple pages linking here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi)

The reserved word is appears as:

Operator

The operator is tests, whether an object (first operand) is an instance of a class or its children.

fruit is citrusFruit

is equivalent to

fruit.inheritsFrom(citrusFruit)

.

The expression is true if and only if fruit descends from citrusFruit.

Modifier

If {$modeSwitch nestedProcVars+} or {$mode ISO} routine variables declared with the modifier is nested allows those to be assigned to nested routines. Otherwise only global routines' addresses can be assigned to routine variables.