Sign in Join
Wiki copytemporary

Odd/de: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Odd/de

OldNewLine
1+Die Systemfunktion `odd` gibt den Wert `true` wenn und nur dann zurück, wenn das an sie übergebene Argument ungerade ist. Die `odd` Funktion muss ein Ganzzahlwert übergeben werden, sie kann keine Reals akzeptieren.
2+
3+Verwendung:
4+
5+
6+`B := odd(i);`
7+
8+Oder
9+
10+
11+`if odd(i) then ...`
12+
13+Wo
14+
15+
16+`B` ist eine [[Boolean|boolean]] Variable und
17+
18+`i` ist ein [[Integer|integer]] Wert.
19+
20+Der Wert, der `odd` angegeben wird, kann eine beliebige ganze Zahl sein: Longint, Longword, int64 oder qword.
21+
22+---
23+*From the Free Pascal wiki, page "Odd/de", as it stood on 2022-10-05 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history