Comments/fi
Deutsch · English · Français · Italiano · Suomi · Русский
Kommentit
Komentit ovat ihmisille luettavaksi tarkoitettuja muistutuksia/huomautuksia jotka edistävät ohjelmakoodin luettavuutta. Niitä ei tulkita käännettäessä. Ne yksinkertaisesti ohitetaan.
Lohkokommentit
Lohkokommentit määritellään { ja } tai (* ja *) merkeillä.
- { tai (* on kommentin alku
- } tai *) on kommentin loppu
Esimerkki:
{ public declarations }Rivinloppu kommentti
Rivinloppu kommentti alkaa merkinnällä // ja jatkuu rivin loppuun asti.
Example:
// Tämä on kommenttiSee also
From the Free Pascal wiki, page "Comments/fi", as it stood on 2020-05-19 after a change by FTurtle, 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.