sInterfaces/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: sInterfaces/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\ | |
| 2 | + | ||
| 3 | + | == \$INTERFACES == Die Direktive \$INTERFACES gehört zur objektorientierten Programmierung.\ | |
| 4 | + | Die Direktive \$INTERFACES legt fest, welche Schnittstellenart das reservierte Wort interface repräsentiert.\ | |
| 5 | + | Die Direktive \$INTERFACES hat drei Schalter:\ | |
| 6 | + | ||
| 7 | + | COM | |
| 8 | + | ||
| 9 | + | Diese Schnittstelle wird von Windows zur Verfügung gestellt und hat einen Referenzzähler. | |
| 10 | + | ||
| 11 | + | CORBA | |
| 12 | + | ||
| 13 | + | Diese Schnittstelle hat keinen Vorgänger und keinen Referenzzähler. Der fehlende Referenzzähler zwingt den Programmierer dazu die Instanzen selbst zu verwalten | |
| 14 | + | ||
| 15 | + | DEFAULT | |
| 16 | + | ||
| 17 | + | Die COM-Schnittstelle ist die Standardschnittstelle. | |
| 18 | + | ||
| 19 | + | Beispiel:\ | |
| 20 | + | ||
| 21 | + | // Legt als Interface die CORBA-Schnittstelle fest | |
| 22 | + | {$INTERFACES CORBA} | |
| 23 | + | ||
| 24 | + | Die Direktive {\$INTERFACES} entspricht der Kommandozeilenoption -SI.\ | |
| 25 | + | ||
| 26 | + | --Olaf 17:52, 17 December 2012 (UTC) | |
| 27 | + | ||
| 28 | + | --- | |
| 29 | + | *From the Free Pascal wiki, page "sInterfaces/de", as it stood on 2013-06-10 after a change by Swen, 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).* | |
| 30 | + | Category: Free Pascal Programmers Guide/de |
