Sign in Join
Wiki copytemporary

sInline/de

Zurück zu den lokalen Compilerdirektiven.\

=$INLINE= Die Direktive $INLINE steuert die Verwendung des reservierten Wortes inline.
Das reservierte Wort inline erlaubt es, dass Prozeduren an die Stelle ihres Aufrufs kopiert werden.
Die Direktive $INLINE kennt die Schalter ON und OFF.
Der Standard ist {$INLINE OFF}.\

Beispiel:\

pascal
{$INLINE ON}
...
procedure subDemo(); inline; // Damit wird das Unterprogramm an die Stelle seines Aufrufs kopiert
begin
  ...
end;

Die Direktive {$INLINE ON} entspricht dem Kommandozeilenaufruf -Sg.\

--Olaf 19:13, 16 December 2012 (UTC)


From the Free Pascal wiki, page "sInline/de", as it stood on 2013-05-03 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.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 2 people, 2012–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
Olafmoved sIncludecompilerinfo/de to sInclude/de (minor)
Olafmoved sInclude/de to sIncludecompilerinfo/de over redirect (minor)
Olafmoved sIncludecompilerinfo/de to sInline/de (minor)
Olaf (minor)
Olaf (minor)
Olaf (minor)
Swen (minor)

Talk about this page

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