Sign in Join
Wiki copytemporary

Inc/fi: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11# Inc
22
3-Inc (increment) [[Procedure/fi|aliohjelma]] Pascal ohjelmoinnissa mahdollistaa helpon yhdellä (tai jollakin muulla arvolla) [[Variable|muuttujan]] lisäämisen. Esimerkiksi, käyttämällä inc (increment) aliohjelmaa, voidaan lisätä yhdellä (1) muuttujaa a:ta näin:
4-```
5-inc( a );
6-```
3+Inc (increment) [[Procedure/fi|aliohjelma]] Pascal ohjelmoinnissa mahdollistaa helpon yhdellä (tai jollakin muulla arvolla) [[Variable|muuttujan]] lisäämisen. Esimerkiksi, käyttämällä inc (increment) aliohjelmaa, voidaan lisätä yhdellä (1) muuttujaa a:ta näin:
74
8-Jos halutaan lisätä kahdella (tai jollakin muulla arvolla):
9-```
10-dec( a, 2 );
5+``` pascal
6+ inc( a );
117```
128
13-Inc aliohjelma sisältyy [System](</index.php?title=System&action=edit&redlink=1> "System \(page does not exist\)") [[Unit/fi|Unittiin]].
9+Jos halutaan lisätä kahdella (tai jollakin muulla arvolla):
1410
15-
11+``` pascal
12+ dec( a, 2 );
13+```
1614
15+Inc aliohjelma sisältyy [[System]] [[Unit/fi|Unittiin]].
16+
1717## Katso myös
1818
19- * Linkki RTL dokumenttiin: [inc](<http://lazarus-ccr.sourceforge.net/docs/rtl/system/inc.html> "doc:rtl/system/inc.html")
20- * [[Dec/fi|Dec]] \- Vähentää muuttujan arvoa.
21- * Linkki RTL dokumenttiin: [succ](<http://lazarus-ccr.sourceforge.net/docs//rtl/system/succ.html> "doc:/rtl/system/succ.html") \- palauttaa (ordinaali tyypin) seuraavan arvon.
22- * [[For]] luuppi_muuttuja := lähtö_piste [[To]] loppu_piste [[Do]].
19+- Linkki RTL dokumenttiin: [[doc:rtl/system/inc.html|inc]]
20+- [[Dec/fi|Dec]] - Vähentää muuttujan arvoa.
21+- Linkki RTL dokumenttiin: [[doc:/rtl/system/succ.html|succ]] - palauttaa (ordinaali tyypin) seuraavan arvon.
22+- [[For]] luuppi_muuttuja := lähtö_piste [[To]] loppu_piste [[Do]].
2323
2424---
25-*From the Free Pascal wiki, page "Inc/fi", as the Internet Archive kept it on 2025-03-25. 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](/wiki-contact).*
25+*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](/wiki-contact).*

Back to history