Sign in Join
Wiki copytemporary

Revision 1 of 1, by Kai Burghardt on 8-9-2022. The page as it is now.

Dec/fi

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.