Difference between revisions of "Comma"

From Free Pascal wiki
Jump to navigationJump to search
(New page: <div style="float:left; margin: 0 25px 20px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">,</div> The symbol , (pronounced ...)
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:left; margin: 0 25px 20px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">,</div>
+
{{Comma}}
  
The symbol , (pronounced "comma") is used in [[Pascal]] in several ways.
+
<div style="float:right; margin: 0 25px 20px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">,</div>
 +
 
 +
The symbol <syntaxhighlight lang="pascal" inline>,</syntaxhighlight> (pronounced "comma") is used in [[Pascal]] in several ways.
  
 
* It is used to separate the [[Variable|variables]].  
 
* It is used to separate the [[Variable|variables]].  
 
+
* It is used to separate the [[Constant|constant]] in [[Case|<syntaxhighlight lang="pascal" inline>case</syntaxhighlight>]] statement.
 +
* It is used to separate the [[Unit|<syntaxhighlight lang="pascal" inline>unit</syntaxhighlight>]] in [[Uses|<syntaxhighlight lang="pascal" inline>uses</syntaxhighlight>]] statement.
 +
 
 +
 
 +
== other remarks ==
 +
* In [[ASCII]] the [[Char|character]] <syntaxhighlight lang="pascal" inline>,</syntaxhighlight> : has the value <syntaxhighlight lang="pascal" inline>44</syntaxhighlight>.
 +
 
  
 
{{Symbols}}
 
{{Symbols}}

Latest revision as of 17:25, 6 August 2022

English (en) suomi (fi) français (fr) русский (ru) 中文(中国大陆)‎ (zh_CN)

,

The symbol , (pronounced "comma") is used in Pascal in several ways.


other remarks



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)