Difference between revisions of "Equal"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
 +
<div style="float:right; margin: 0 0 10px 10px; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">=</div>
 +
 +
 
The symbol = (pronounced "equal") is used to test two values for equality.  Unlike other languages, the symbol is not used to assign a value, for that, you use the symbol [[Becomes|:=]] ([[colon immediately followed by equal, which is pronounced [[Becomes|becomes]]).
 
The symbol = (pronounced "equal") is used to test two values for equality.  Unlike other languages, the symbol is not used to assign a value, for that, you use the symbol [[Becomes|:=]] ([[colon immediately followed by equal, which is pronounced [[Becomes|becomes]]).
  

Revision as of 10:57, 21 October 2007

=


The symbol = (pronounced "equal") is used to test two values for equality. Unlike other languages, the symbol is not used to assign a value, for that, you use the symbol := ([[colon immediately followed by equal, which is pronounced becomes).


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)


An editor has declared this article to be a stub, meaning that it needs more information. Can you help out and add some? If you have some useful information, you can help the Free Pascal Wiki by clicking on the edit box on the left and expanding this page.