Sign in Join
Wiki copytemporary

Assigned: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Assigned

OldNewLine
1+`Assigned` is a [[Function|function]] defined in the [[System unit]] of the [[FPC|Free Pascal]] [[RTL|Runtime Library]]. It is used to determine if certain [[Type|types]] of [[Variable|variables]] have been given a value:
2+
3+- [[Pointer|Pointer variables]]
4+- [[Procedural variable|Procedural variables]] and method procedural variables
5+- [[Class|Class variables]]
6+
7+The `function assigned` receives a [[Boolean|boolean]] value `false` if the type pointer assigned to it indicates a [[Nil|nil]] value
8+
9+``` Pascal
10+function Assigned( P: Pointer ) : Boolean;
11+```
12+
13+## see also
14+
15+- [`Assigned`](https://www.freepascal.org/docs-html/rtl/system/assigned.html)
16+
17+---
18+*From the Free Pascal wiki, page "Assigned", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history