Sign in Join
Wiki copytemporary

Mod/de

Deutsch · English · Français

Zurück zu den reservierten Wörtern.

Das reservierte Wort mod gehört zu den Operatoren.

Das reservierte Wort mod dient der Division ganzer Zahlen.

Das reservierte Wort mod steht für Modulo, und liefert den Rest einer Division.

Beispiel:

pascal
var
  intI: integer;

begin
  ...
  intI := 10 mod 3; // Ergebnis: 1
  ...
end;

From the Free Pascal wiki, page "Mod/de", as it stood on 2020-02-20 after a change by Trev, 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 2, last changed by WikiArchive .

Talk about this page

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