Difference between revisions of "Of"

From Lazarus wiki
Jump to navigationJump to search
(list)
m (substitute legacy syntaxhighlight syntax)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{of}}
 
{{of}}
  
<syntaxhighlight lang="pascal" enclose="none">of</syntaxhighlight> is a [[Reserved word|reserved word]].
+
<syntaxhighlight lang="pascal" inline>of</syntaxhighlight> is a [[Reserved word|reserved word]].
  
 
== occurences ==
 
== occurences ==
  
The word <syntaxhighlight lang="pascal" enclose="none">of</syntaxhighlight> is used at several places.
+
The word <syntaxhighlight lang="pascal" inline>of</syntaxhighlight> is used at several places.
  
 
* separating the base type of a structured data type
 
* separating the base type of a structured data type
** [[Array|<syntaxhighlight lang="pascal" enclose="none">array</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">of basetype</syntaxhighlight>
+
** [[Array|<syntaxhighlight lang="pascal" inline>array</syntaxhighlight>]] <syntaxhighlight lang="pascal" inline>of basetype</syntaxhighlight>
** [[File|<syntaxhighlight lang="pascal" enclose="none">file</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">of basetype</syntaxhighlight>
+
** [[File|<syntaxhighlight lang="pascal" inline>file</syntaxhighlight>]] <syntaxhighlight lang="pascal" inline>of basetype</syntaxhighlight>
** [[Set|<syntaxhighlight lang="pascal" enclose="none">set</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">of basetype</syntaxhighlight>
+
** [[Set|<syntaxhighlight lang="pascal" inline>set</syntaxhighlight>]] <syntaxhighlight lang="pascal" inline>of basetype</syntaxhighlight>
* in conjunction with the word [[Case|<syntaxhighlight lang="pascal" enclose="none">case</syntaxhighlight>]] distinguishing between alternatives
+
* in conjunction with the word [[Case|<syntaxhighlight lang="pascal" inline>case</syntaxhighlight>]] distinguishing between alternatives
** switch control structure: <syntaxhighlight lang="pascal" enclose="none">case of end</syntaxhighlight>
+
** switch control structure: <syntaxhighlight lang="pascal" inline>case of end</syntaxhighlight>
** variant records: [[Case#Variant Record|<syntaxhighlight lang="pascal" enclose="none">record</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">case of end</syntaxhighlight>
+
** variant records: [[Case#Variant Record|<syntaxhighlight lang="pascal" inline>record</syntaxhighlight>]] <syntaxhighlight lang="pascal" inline>case of end</syntaxhighlight>
* specifying class references: [[Class|<syntaxhighlight lang="pascal" enclose="none">class</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">of</syntaxhighlight>
+
* specifying class references: [[Class|<syntaxhighlight lang="pascal" inline>class</syntaxhighlight>]] <syntaxhighlight lang="pascal" inline>of</syntaxhighlight>
* specifying references to class methods: [[Procedure|<syntaxhighlight lang="pascal" enclose="none">procedure</syntaxhighlight>]] <syntaxhighlight lang="pascal" enclose="none">of</syntaxhighlight>
+
* specifying references to class [[Method|methods]]: [[Procedure|<syntaxhighlight lang="pascal" inline>procedure</syntaxhighlight>]] <syntaxhighlight lang="pascal" inline>of</syntaxhighlight>

Latest revision as of 07:47, 17 May 2020

Deutsch (de) English (en) suomi (fi) français (fr)

of is a reserved word.

occurences

The word of is used at several places.

  • separating the base type of a structured data type
  • in conjunction with the word case distinguishing between alternatives
    • switch control structure: case of end
    • variant records: record case of end
  • specifying class references: class of
  • specifying references to class methods: procedure of