Difference between revisions of "Colon"
From Lazarus wiki
Jump to navigationJump to searchm |
|||
Line 12: | Line 12: | ||
* It separate a [[Function|function]] declaration with the function type. | * It separate a [[Function|function]] declaration with the function type. | ||
− | * It is used to indicate a label | + | * It is used to indicate a [[Label|label]]. |
− | |||
− | |||
+ | * It is used to separate the optional field width specifier from the value for a [[Write]] or Writeln parameter. | ||
+ | The colon [[ASCII]] or the unicode value is 58. | ||
{{Symbols}} | {{Symbols}} | ||
− | |||
− |
Revision as of 07:54, 23 September 2017
│
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.
The colon ASCII or the unicode value is 58.
single characters |
|
character pairs |
|