Difference between revisions of "Colon"
From Lazarus wiki
Jump to navigationJump to search (Colon is used in Write and Writeln) |
m |
||
Line 1: | Line 1: | ||
+ | {{Colon}} | ||
+ | |||
<div style="float:left; margin: 0 25px 20px 0; padding:50px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">:</div> | <div style="float:left; margin: 0 25px 20px 0; padding:50px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">:</div> | ||
Revision as of 10:54, 10 December 2013
│
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
:
The symbol : (pronounced "colon") is used in Pascal in several ways.
- It is used to indicate the type of an identifier in a var or const declaration.
- It is used to indicate a case statement entry.
- It separate a function declaration with the function type.
- It is used to indicate a label.
- It is used to separate the optional field width specifier from the value for a Write or Writeln parameter.
single characters |
|
character pairs |
|