Inc/fr
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 :
inc( a );Si vous voulez ajouter 2 (ou plus) :
inc( a, 2 );La procédure Inc est incluse dans l'unité System.
Voir aussi
- Lien vers la documentation de la RTL : inc
- Dec - Décrémente la valeur d'une variable entière.
- Lien vers la documentation RTL : succ - Retourne l'élément suivant pour un type ordinal.
- Instruction For control_variable := start_point To end_point Do.
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.