Difference between revisions of "Left curly bracket"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "{{ Left curly bracket }} <div style="float:left; margin: 0 25px 20px 0; padding:50px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777...")
 
(review)
Line 1: Line 1:
 
{{ Left curly bracket }}
 
{{ Left curly bracket }}
 
  
 
<div style="float:left; margin: 0 25px 20px 0; padding:50px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777; clear:both;">{</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; clear:both;">{</div>
  
The Left curly bracket [[ASCII]]the unicode, or the [[UTF-8]] value is 123 ([[Hexadecimal]] $7B).
+
The left curly bracket <syntaxhighlight lang="pascal" enclose="none">{</syntaxhighlight> is defined in [[ASCII]] as having the value is <syntaxhighlight lang="pascal" enclose="none">123</syntaxhighlight> ([[Hexadecimal|hexadecimal]] <syntaxhighlight lang="delphi" enclose="none">$7B</syntaxhighlight>).
 
+
In Pascal it always appears in conjunction with a corresponding right curly bracket constituting a pair.
The symbol {  is used to:  
+
Such a pair is used to:
* [[Comments|Block comments]] starts with an opening curly brace {
+
* write [[Comments#block comments|block comments]]
* Compiler directives are enclosed by curly brackets with an opening [[Dollar_sign]].
+
* [[FPC]] and Delphi interpret such comments with an initial [[Dollar sign|dollar sign]] as compiler directives, for example <syntaxhighlight lang="delphi" enclose="none">{$longStrings on}</syntaxhighlight>
* [[IDE directives]] are enclosed by curly brackets with an opening [[Percent_sign|percentage sign]].
+
* integrated development environments such as [[Lazarus]] interpret block comments with an initial [[Percent sign|percent sign]] as [[IDE directives]], for instance <syntaxhighlight lang="delphi" enclose="none">{%H-}</syntaxhighlight>
 +
{{Symbols}}

Revision as of 16:01, 2 November 2018

English (en)

{

The left curly bracket { is defined in ASCII as having the value is 123 (hexadecimal $7B). In Pascal it always appears in conjunction with a corresponding right curly bracket constituting a pair. Such a pair is used to:


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)