Sign in Join
Wiki copytemporary

Public/de: what changed

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

Title: Public/de

OldNewLine
1+Zurück zu den [[Reserved words/de|reservierten Wörtern]].
2+
3+Der Modifier <b>public</b> gehört zur Programmierung von Unterprogrammen.
4+
5+Der Modifier <b>public</b> macht ein Unterprogramm innerhalb der Unit öffentlich.
6+
7+Das ist dann sinnvoll, wenn das Unterprogramm innerhalb der Unit nicht gesehen wird.
8+
9+Solange das Unterprogramm nicht im interface-Abschnitt der Unit deklariert wurde ist es für andere Units nicht sichtbar.
10+
11+``` pascal
12+function subTest: string; [Public];
13+begin
14+ subTest := 'abc';
15+end;
16+```
17+
18+---
19+*From the Free Pascal wiki, page "Public/de", as it stood on 2020-02-23 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