Sign in Join
Wiki copytemporary

IDE Window: Conditional Defines/de: what changed

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

OldNewLine
1-Ein Dienstprogramm um beim Einfügen von $IFDEF's zu helfen. Zum Beispiel, um
2-```
3-OnCreate := @CreateHandler
4-```
1+Ein Dienstprogramm um beim Einfügen von \$IFDEF's zu helfen. Zum Beispiel, um
52
6-zu konvertieren zu:
7-```
8-OnCreate := {$IFDEF FPC} @ {$ENDIF} CreateHandler
9-```
3+` OnCreate := @CreateHandler`
104
11-Wählen sie **@** und dann **Edit** , fügen **$IFDEF** ein (Vorgabe-Tastenkombination Strg+Shift+D), wählen "FPC,NONE" und drücken die Enter Taste. Wenn sie eine oder mehrere komplette Zeilen auswählen, dann werden die $IFDEF's auf separate Zeilen verteilt wie in:
12-```
13-{$IFDEF DEBUG}
14- Writeln('State= ', State)
15- {$ENDIF}
16-```
5+zu konvertieren zu:
176
18-Die Auswahlmöglichkeiten sind in abgekürzter Form aufgelistet:
7+` OnCreate := {$IFDEF FPC} @ {$ENDIF} CreateHandler`
198
20- * MSWINDOWS,UNIX => {$IFDEF MSWINDOWS} ... {$ENDIF} {$IFDEF UNIX} ... {$ENDIF}
21- * FPC,ELSE => {$IFDEF FPC} ... {$ELSE} ... {$ENDIF}
22- * DEBUG,NONE => {$IFDEF DEBUG} ... {$ENDIF}
9+Wählen sie **@** und dann **Edit**, fügen **\$IFDEF** ein (Vorgabe-Tastenkombination Strg+Shift+D), wählen "FPC,NONE" und drücken die Enter Taste. Wenn sie eine oder mehrere komplette Zeilen auswählen, dann werden die \$IFDEF's auf separate Zeilen verteilt wie in:
2310
24-This tool is most useful when you need to put several identical conditionals in a file, you can add to the possible conditionals by selecting or typing the required symbols in "First test" and /or "Second test" and using the **Add** button.
11+` {$IFDEF DEBUG}`\
12+` Writeln('State= ', State)`\
13+` {$ENDIF}`
2514
26-Ihre Hinzufügungen werden in der condef.xml Datei im Lazarus Konfigurationsverzeichnis gespeichert.
15+Die Auswahlmöglichkeiten sind in abgekürzter Form aufgelistet:
2716
17+- MSWINDOWS,UNIX =\> {\$IFDEF MSWINDOWS} ... {\$ENDIF} {\$IFDEF UNIX} ... {\$ENDIF}
18+- FPC,ELSE =\> {\$IFDEF FPC} ... {\$ELSE} ... {\$ENDIF}
19+- DEBUG,NONE =\> {\$IFDEF DEBUG} ... {\$ENDIF}
20+
21+This tool is most useful when you need to put several identical conditionals in a file, you can add to the possible conditionals by selecting or typing the required symbols in "First test" and /or "Second test" and using the **Add** button.
22+
23+Ihre Hinzufügungen werden in der condef.xml Datei im Lazarus Konfigurationsverzeichnis gespeichert.\
24+
2825---
29-*From the Free Pascal wiki, page "IDE Window: Conditional Defines/de", as the Internet Archive kept it on 2023-03-22. 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).*
26+*From the Free Pascal wiki, page "IDE Window: Conditional Defines/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](/wiki-contact).*
27+Category: Tutorials/de

Back to history