Wiki-kopiopeilipalvelin

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

Dec/fi

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

Dec (decrement) aliohjelma Pascal ohjelmoinnissa mahdollistaa helpon yhdellä (tai jollakin muulla arvolla) muuttujan vähentämisen. Esimerkiksi, käyttämällä Dec (decrement) aliohjelmaa, voidaan vähentää yhdellä (1) muuttujaa a:ta näin:

pascal
 dec( a );

Jos halutaan vähentää kahdella (tai jollakin muulla arvolla):

pascal
 dec( a, 2 );

Dec aliohjelma sisältyy System Unittiin.

Katso myös


From the Free Pascal wiki, page "Dec/fi", as it stood on 2022-08-09 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.

Versio 1, viimeksi muokannut WikiArchive .