Sign in Join
Wiki copytemporary

IDE Macros in paths and filenames/de

Deutsch · English · Español · Français · Português · Русский

Macros verwenden das folgende Format. Dabei wird macro-name durch eines der unten aufgelisteten Macros ersetzt.

$(macro-name)

Beispiel: Dieses Format gibt das Ausgabeverzeichnis für Units an. Es wird häufig für Lazarus Packages benutzt:

lib/$(TargetCPU)-$(TargetOS)

unter einem x86 Linux 32-bit System würde daraus: lib/i386-linux
unter einem x86 Linux 64-bit System würde daraus: lib/x86_64-linux

Es gibt auch einige Macrofunktionen die folgendes Format verwenden:

$macro_name(parameters)

Beispiel:

$Ext(unit1.pas)

liefert die Dateierweiterung .pas.

Allgemeine Verwendung

Dateinamen und Teile davon

Pfade und Teile davon


From the Free Pascal wiki, page "IDE Macros in paths and filenames/de", as it stood on 2015-06-07 after a change by FTurtle, 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 .

Talk about this page

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