Difference between revisions of "Ord/de"
From Lazarus wiki
Jump to navigationJump to searchLine 2: | Line 2: | ||
{{Ord}} | {{Ord}} | ||
− | Diese Funktion | + | Diese Funktion wandelt einen [[Char|char]] in ein Byte um. |
ction '''ord''' returns the [[ASCII]] value of the [[Char|char]] '''c'''. | ction '''ord''' returns the [[ASCII]] value of the [[Char|char]] '''c'''. | ||
Revision as of 19:15, 6 December 2017
│
Deutsch (de) │
English (en) │
français (fr) │
русский (ru) │
Diese Funktion wandelt einen char in ein Byte um. ction ord returns the ASCII value of the char c.
Deklaration:
Function ord (c : Char) : byte;
Folgendes Beispiel, gibt 65. Das A hat den ASCII-Wert 65.
WriteLn(ord('A'));
Siehe auch: