Sign in Join
Wiki copytemporary

sTypeinfo/de

Zurück zu den lokalen Compiler Direktiven.\

=$M und $TYPEINFO= Die Direktiven $M und $TYPEINFO gehören zur objektorientierten Programmierung.
Die Direktiven $M und $TYPEINFO erstellen Run-Time Type Informationen und stellen diese Informationen Klassen zur Verfügung.
Die Direktiven $M und $TYPEINFO sind gleich.
Die Direktive $TYPEINFO kennt die Schalter ON und OFF.
Die Direktive $M kennt die Schalter + und -.
Die Direktive {$TYPEINFO OFF} bzw. {$M-} ist Standard.\

Das Erstellen von Run-Time Type Informationen erlaubt es dem Programmierer Objekte nach öffentlichen Eigenschaften zu durchsuchen, ohne die aktuelle Klassse des Objektes zu kennen.\

pascal
{$TYPEINFO ON}

--Olaf 12:44, 5 January 2013 (UTC)


From the Free Pascal wiki, page "sTypeinfo/de", as it stood on 2013-04-21 after a change by Olaf, 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.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 1 person, 2013

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
OlafCreated page
Olaf (minor)
Olaf (minor)
Olaf (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.