Difference between revisions of "Less than"

From Free Pascal wiki
Jump to navigationJump to search
 
Line 6: Line 6:
 
The less than symbol, '''''<''''' is used to compare whether the value on the left side of the symbol is smaller than that of the value to the right side of the symbol, and returns the [[Boolean|boolean]] value of [[True|true]] or [[False|false]] as a result.
 
The less than symbol, '''''<''''' is used to compare whether the value on the left side of the symbol is smaller than that of the value to the right side of the symbol, and returns the [[Boolean|boolean]] value of [[True|true]] or [[False|false]] as a result.
  
In [[ASCII]], the character code decimal <syntaxhighlight lang="pascal" enclose="none"> 60</syntaxhighlight> (or [[Hexadecimal|hexadecimal]] <syntaxhighlight lang="pascal" enclose="none">3C</syntaxhighlight>) is defined to be  
+
In [[ASCII]], the character code decimal <syntaxhighlight lang="pascal" inline> 60</syntaxhighlight> (or [[Hexadecimal|hexadecimal]] <syntaxhighlight lang="pascal" inline>3C</syntaxhighlight>) is defined to be  
<syntaxhighlight lang="pascal" enclose="none"><</syntaxhighlight> (Less than).
+
<syntaxhighlight lang="pascal" inline><</syntaxhighlight> (Less than).
  
  
 
{{Symbols}}
 
{{Symbols}}

Latest revision as of 17:18, 6 August 2022

English (en) suomi (fi) français (fr) русский (ru)

<

The less than symbol, < is used to compare whether the value on the left side of the symbol is smaller than that of the value to the right side of the symbol, and returns the boolean value of true or false as a result.

In ASCII, the character code decimal 60 (or hexadecimal 3C) is defined to be < (Less than).



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)