Colon

From Free Pascal wiki
Revision as of 07:54, 23 September 2017 by Djzepi (talk | contribs)
Jump to navigationJump to search

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 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.



navigation bar: topic: Pascal symbols
single characters

+ (plus)  •  - (minus)  •  * (asterisk)  •  / (slash)
= (equal)  •  > (greater than)  •  < (less than)
. (period)  •  : (colon)  •  ; (semi colon)
^ (hat)  •  @ (at)
$ (dollar sign)  •  & (ampersand)  •  # (hash)
' (single quote)

character pairs

<> (not equal)  •  <= (less than or equal)  •  := (becomes)  •  >= (greater than or equal)

 •  >< (symmetric difference)  •  // (double slash)