Wiki-kopiopeilipalvelin

Tämä on pascal.chatin wikin peilipalvelin. Muokkaus, historia ja kirjautuminen ovat siellä.

Inc/fi

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

Inc

Inc (increment) aliohjelma Pascal ohjelmoinnissa mahdollistaa helpon yhdellä (tai jollakin muulla arvolla) muuttujan lisäämisen. Esimerkiksi, käyttämällä inc (increment) aliohjelmaa, voidaan lisätä yhdellä (1) muuttujaa a:ta näin:

pascal
 inc( a );

Jos halutaan lisätä kahdella (tai jollakin muulla arvolla):

pascal
 dec( a, 2 );

Inc aliohjelma sisältyy System Unittiin.

Katso myös


From the Free Pascal wiki, page "Inc/fi", 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.

Versio 2, viimeksi muokannut WikiArchive .