Sign in Join
Wiki copytemporary

Odd/de

Deutsch · English · Polski

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.

Verwendung:

B := odd(i);

Oder

if odd(i) then ...

Wo

B ist eine boolean Variable und

i ist ein integer Wert.

Der Wert, der odd angegeben wird, kann eine beliebige ganze Zahl sein: Longint, Longword, int64 oder qword.


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.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.