Sign in Join
Wiki copytemporary

Constant/fi: what changed

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

Title: Constant/fi

OldNewLine
1+# Vakiot
2+
3+Vakiolla tarkoitetaan [[Identifier/fi|tunnistetta]], joka ei muutu, sillä on kiinteä arvo.
4+
5+Vakiot määritellään [[FPC/fi|Free Pascal]] -[[Program/fi|ohjelman]] [[Const/fi|const]] lohkossa. Kun tunniste on vakio, [[Compiler|Free Pascal-kääntäjä]] voi usein tehdä joitakin optimointeja, jotta käännetty koodi nopeutuu tai pienenee.
6+
7+Jotkut erityiset Free Pascal -vakiot:
8+
9+Loogiset arvot
10+
11+- [[False]]
12+- [[True]]
13+
14+Data tyyppien raja-arvoja
15+
16+- [[Nil/fi|Nil]] eli tyhjän [[Pointer/fi|osoittimen]] arvo
17+- [[maxint|MaxInt]]: suurin mahdollinen [[Integer|integer]] arvo
18+
19+Matemaattiset arvot
20+
21+- [[Pi/fi|Pi]]
22+
23+## Katso lisää
24+
25+- [[Const/fi|Const]]
26+- [[Basic Pascal Tutorial/Chapter 1/Constants/fi|Constants]]
27+
28+---
29+*From the Free Pascal wiki, page "Constant/fi", as it stood on 2023-02-23 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](/wiki-contact).*

Back to history