https://wiki.freepascal.org/index.php?title=End/fi&feed=atom&action=history
End/fi - Revision history
2024-03-29T11:24:50Z
Revision history for this page on the wiki
MediaWiki 1.35.6
https://wiki.freepascal.org/index.php?title=End/fi&diff=153214&oldid=prev
Kai Burghardt: resolve Category: Pages using deprecated enclose attributes
2022-08-06T15:16:55Z
<p>resolve <a href="/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1" class="new" title="Category:Pages using deprecated enclose attributes (page does not exist)">Category: Pages using deprecated enclose attributes</a></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:16, 6 August 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{end}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{end}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Keyword|avainsana]] <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>end</syntaxhighlight> päättää kokonaisuuden.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Keyword|avainsana]] <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>end</syntaxhighlight> päättää kokonaisuuden.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Se esintyy useissa eri paikoissa:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Se esintyy useissa eri paikoissa:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* merkitä moduulin lopun, eli esim. [[Program/fi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>ohjelma</syntaxhighlight>]], [[Unit/fi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>käännösyksikkö (unit)</syntaxhighlight>]] tai [[Library|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>library</syntaxhighlight>]]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* merkitä moduulin lopun, eli esim. [[Program/fi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>ohjelma</syntaxhighlight>]], [[Unit/fi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>käännösyksikkö (unit)</syntaxhighlight>]] tai [[Library|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>library</syntaxhighlight>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* merkitä [[Block|lohkon]] tai ohjeistuksen lopun</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* merkitä [[Block|lohkon]] tai ohjeistuksen lopun</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** joko [[Begin/fi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>begin</syntaxhighlight>]] tai</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** joko [[Begin/fi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>begin</syntaxhighlight>]] tai</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** [[Asm|<syntaxhighlight lang="delphi" <del class="diffchange diffchange-inline">enclose="none"</del>>asm</syntaxhighlight>]] aloitetun</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** [[Asm|<syntaxhighlight lang="delphi" <ins class="diffchange diffchange-inline">inline</ins>>asm</syntaxhighlight>]] aloitetun</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* sulkea joitakin kielirakenteita:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* sulkea joitakin kielirakenteita:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** [[If and Then|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>if … then … end</syntaxhighlight>]] tai</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** [[If and Then|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>if … then … end</syntaxhighlight>]] tai</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** [[Case/fi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>Case</syntaxhighlight>]] … [[Of|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>of</syntaxhighlight>]] … <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>end</syntaxhighlight> rakenteen lopetus, mutta myös</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** [[Case/fi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>Case</syntaxhighlight>]] … [[Of|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>of</syntaxhighlight>]] … <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>end</syntaxhighlight> rakenteen lopetus, mutta myös</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** [[Try, Except and Finally|<syntaxhighlight lang="delphi" <del class="diffchange diffchange-inline">enclose="none"</del>>try … except … finally … end</syntaxhighlight>]] (poikkeukset)</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** [[Try, Except and Finally|<syntaxhighlight lang="delphi" <ins class="diffchange diffchange-inline">inline</ins>>try … except … finally … end</syntaxhighlight>]] (poikkeukset)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* lopettaa tietyt [[Type/fi|type]] määrittelyt, kuten [[Object/fi|<syntaxhighlight lang="delphi" <del class="diffchange diffchange-inline">enclose="none"</del>>object</syntaxhighlight>]], [[Record/fi|<syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>record</syntaxhighlight>]] ja [[Class/fi|<syntaxhighlight lang="delphi" <del class="diffchange diffchange-inline">enclose="none"</del>>class</syntaxhighlight>]]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* lopettaa tietyt [[Type/fi|type]] määrittelyt, kuten [[Object/fi|<syntaxhighlight lang="delphi" <ins class="diffchange diffchange-inline">inline</ins>>object</syntaxhighlight>]], [[Record/fi|<syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>record</syntaxhighlight>]] ja [[Class/fi|<syntaxhighlight lang="delphi" <ins class="diffchange diffchange-inline">inline</ins>>class</syntaxhighlight>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Esimerkiksi:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Esimerkiksi:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l23" >Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Pääsääntö on että jokaisen <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>end</syntaxhighlight> sanan perässä on oltava [[Semicolon|puolipilkku]]. <syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>End</syntaxhighlight> sanaa edeltävä lause ei vaadi puolipistettä.</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Pääsääntö on että jokaisen <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>end</syntaxhighlight> sanan perässä on oltava [[Semicolon|puolipilkku]]. <syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>End</syntaxhighlight> sanaa edeltävä lause ei vaadi puolipistettä.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Sitä käytetään myös Pascal-moduulin lopettamiseen, jolloin sitä seuraa [[period|piste]], joka ei siis ole puolipilkku (alla olevassa esimerkissä viimeinen puolipilkku on vapaaehtoinen):</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Sitä käytetään myös Pascal-moduulin lopettamiseen, jolloin sitä seuraa [[period|piste]], joka ei siis ole puolipilkku (alla olevassa esimerkissä viimeinen puolipilkku on vapaaehtoinen):</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l41" >Line 41:</td>
<td colspan="2" class="diff-lineno">Line 41:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="pascal" <del class="diffchange diffchange-inline">enclose="none"</del>>end</syntaxhighlight> käytetään ilmaisemaan käännösyksikön (unit) lopun:</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="pascal" <ins class="diffchange diffchange-inline">inline</ins>>end</syntaxhighlight> käytetään ilmaisemaan käännösyksikön (unit) lopun:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang=pascal></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang=pascal></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> unit detent;</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> unit detent;</div></td></tr>
</table>
Kai Burghardt
https://wiki.freepascal.org/index.php?title=End/fi&diff=131914&oldid=prev
Trev: Fixed syntax highlighting
2020-02-14T06:47:45Z
<p>Fixed syntax highlighting</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 06:47, 14 February 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42" >Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> käytetään ilmaisemaan käännösyksikön (unit) lopun:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> käytetään ilmaisemaan käännösyksikön (unit) lopun:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight <ins class="diffchange diffchange-inline">lang=pascal</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> unit detent;</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> unit detent;</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> uses math;</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> uses math;</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l64" >Line 64:</td>
<td colspan="2" class="diff-lineno">Line 64:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Se lopettaa [[Record/fi|record]] määrittelyn:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Se lopettaa [[Record/fi|record]] määrittelyn:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight <ins class="diffchange diffchange-inline">lang=pascal</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Type</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> Type</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ExampleRecord = Record</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ExampleRecord = Record</div></td></tr>
</table>
Trev
https://wiki.freepascal.org/index.php?title=End/fi&diff=120382&oldid=prev
Djzepi: Created page with "{{end}} avainsana <syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> päättää kokonaisuuden. Se esintyy useissa eri paikoissa: * merkitä modu..."
2018-10-14T16:21:55Z
<p>Created page with "{{end}} <a href="/Keyword" title="Keyword">avainsana</a> <syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> päättää kokonaisuuden. Se esintyy useissa eri paikoissa: * merkitä modu..."</p>
<p><b>New page</b></p><div>{{end}}<br />
<br />
[[Keyword|avainsana]] <syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> päättää kokonaisuuden.<br />
Se esintyy useissa eri paikoissa:<br />
* merkitä moduulin lopun, eli esim. [[Program/fi|<syntaxhighlight lang="pascal" enclose="none">ohjelma</syntaxhighlight>]], [[Unit/fi|<syntaxhighlight lang="pascal" enclose="none">käännösyksikkö (unit)</syntaxhighlight>]] tai [[Library|<syntaxhighlight lang="pascal" enclose="none">library</syntaxhighlight>]]<br />
* merkitä [[Block|lohkon]] tai ohjeistuksen lopun<br />
** joko [[Begin/fi|<syntaxhighlight lang="pascal" enclose="none">begin</syntaxhighlight>]] tai<br />
** [[Asm|<syntaxhighlight lang="delphi" enclose="none">asm</syntaxhighlight>]] aloitetun<br />
* sulkea joitakin kielirakenteita:<br />
** [[If and Then|<syntaxhighlight lang="pascal" enclose="none">if … then … end</syntaxhighlight>]] tai<br />
** [[Case/fi|<syntaxhighlight lang="pascal" enclose="none">Case</syntaxhighlight>]] … [[Of|<syntaxhighlight lang="pascal" enclose="none">of</syntaxhighlight>]] … <syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> rakenteen lopetus, mutta myös<br />
** [[Try, Except and Finally|<syntaxhighlight lang="delphi" enclose="none">try … except … finally … end</syntaxhighlight>]] (poikkeukset)<br />
* lopettaa tietyt [[Type/fi|type]] määrittelyt, kuten [[Object/fi|<syntaxhighlight lang="delphi" enclose="none">object</syntaxhighlight>]], [[Record/fi|<syntaxhighlight lang="pascal" enclose="none">record</syntaxhighlight>]] ja [[Class/fi|<syntaxhighlight lang="delphi" enclose="none">class</syntaxhighlight>]]<br />
<br />
Esimerkiksi:<br />
<syntaxhighlight lang="pascal" highlight="6"><br />
procedure proc0;<br />
var<br />
a, b: integer;<br />
begin<br />
…<br />
end;<br />
</syntaxhighlight><br />
<br />
Pääsääntö on että jokaisen <syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> sanan perässä on oltava [[Semicolon|puolipilkku]]. <syntaxhighlight lang="pascal" enclose="none">End</syntaxhighlight> sanaa edeltävä lause ei vaadi puolipistettä.<br />
<br />
Sitä käytetään myös Pascal-moduulin lopettamiseen, jolloin sitä seuraa [[period|piste]], joka ei siis ole puolipilkku (alla olevassa esimerkissä viimeinen puolipilkku on vapaaehtoinen):<br />
<br />
<syntaxhighlight lang="delphi" highlight="10,11"><br />
program proc1;<br />
var<br />
SL: TStrings;<br />
begin<br />
SL := TStringlist.create;<br />
try<br />
…<br />
finally<br />
SL.free;<br />
end;<br />
end.<br />
</syntaxhighlight><br />
<br />
<syntaxhighlight lang="pascal" enclose="none">end</syntaxhighlight> käytetään ilmaisemaan käännösyksikön (unit) lopun:<br />
<syntaxhighlight><br />
unit detent;<br />
uses math;<br />
<br />
procedure delta(r:real);<br />
<br />
implementation<br />
<br />
procedure delta;<br />
begin<br />
<br />
...<br />
<br />
end;<br />
<br />
...<br />
(* Huomaa: Ei vastaavaa '''begin''' lausetta *)<br />
<br />
end.<br />
</syntaxhighlight><br />
<br />
Se lopettaa [[Record/fi|record]] määrittelyn:<br />
<syntaxhighlight><br />
Type<br />
ExampleRecord = Record<br />
Values: array [1..200] of real;<br />
NumValues: Integer; { holds the actual number of points in the array }<br />
Average: Real { holds the average or mean of the values in the array }<br />
End;<br />
</syntaxhighlight><br />
<br />
{{Keywords}}</div>
Djzepi