Copie du wikimiroir

Ceci est un miroir du wiki de pascal.chat. La modification, l’historique et la connexion se trouvent là-bas.

Inc/fr

Français · Suomi · Русский

Inc

Inc(incrément) est une procédure en programmation Pascal qui vous permet d'ajouter facilement 1 (ou une autre valeur) à une variable.

Par exemple, en employant la procédure Inc(incrément), vous pouvez accroître de 1 la variable nommée a comme suit :

pascal
 inc( a );

Si vous voulez ajouter 2 (ou plus) :

pascal
 inc( a, 2 );

La procédure Inc est incluse dans l'unité System.

Voir aussi


From the Free Pascal wiki, page "Inc/fr", as it stood on 2020-02-17 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.

Version 1, dernière modification par WikiArchive .