English
Online-Documentation

xpse.kompilerschalter Textblock

 
preface

XPSE bid particularly by the Einbetten of new Kompilerschaltern into View source, The Possibility, independent of the IDE The Behandlungsroutinen for each View source individually festzulegen. this sound very theoretical - bewährt itself however vollautomatisch with the daily Programming.

one can accordingly inside the Quelltextes determine, How the View source treats go, or. what everything at/to the Compile happen should.

Einfache Examples this are:

· to the create the Exe should these on another place copies go (Batchsupport)
· this Source is always with Prf2Cpp To kompilieren
· this program should one bestimmtes ICON or a defined Ressourceinformation carry

go The Compilerschalter in the View source indicated, accordingly these additional to Syntax of XProfan (one Dollarzeichen "$") through geschweifte clinging einzurahmen. One XPSE- Kompilerschalter sees accordingly z.B. so from: {$debug} or {$c} or {$cleq}

The Kompilerschalter can discretionary in the View source distributed go, usually setting one Kompilerschalter however on whom beginning one Quelltextes. Kompilerschalter can with a REM-commands deaktiviert go. The indicated of Kompilerschaltern isn't case-Sensitive.

according to type the Schalters add itself either The auszuführenden Options, or you'll by the latest gültige indicated überschrieben. (I faith this set understand one first if one the switch respected has)

The Kompilerschalter in the individual

Shorties
Shorties are Kompilerschalter which from only one letters consist and the Besonderheit having, too together within of/ one Kompilerschalteranweisungszeile verknüpft To go. its means not necessary z.B. in the first row {$C} and the second row {$L} To write, separate Shorties can so verknüpft go: {$CLEQ}. with Shorties game too The Order the indicated no role there XPSE self certainly which Order The schlüssigste is. it power means none Difference whether {$CLEQ} or {$QLCE} written becomes. The Overview halber is however recommended The switch too in the logischen Abfolge anzugeben. One left power z.B. first to the Compilieren sense, and the started the Exe results in example neither to the left.

{$C}
<i>Compile</i>
The View source is To kompilieren. Hierbei are too others Compilerschalter - which itself on the process the Kompilierens limit - To mind.
{$E}
<i>Exe</i>
After the left The begot Exe started.
{$I}
<i>Interprete</i>
View source in the interpreter mode started.
{$L}
<i>Link</i>
After the Compile left.
{$Q}
<i>Quietmode</i>
If no Error at operate auftrat closes itself XPSE vollautomatisch to verrichteter work.
{$R}
<i>Run</i>
After the Compile becomes The compiled PRC launched.
{$s}
<i>ShowSource</i>
begot reinen XProfan-View source Show.

The others Kompilerschalter
(Non-Shorties)
These Kompilerschalter must each in a own row stand. it can also not several Compilerschalter with Befehlstrennungszeichen within of/ one individual row indicated go. some Kompilerschalter expect a Parameter. The indicated one compel Parameters is with A marked.

>batch {$BATCH A}lead A to the work out the Compilerschalter from. A can on a Batchdatei or on one Program show, or directly one Batchbefehl his. It can only one Batchbefehl indicated go, what z.B. with $INCLUDEPATH  differently is. TIP: at that indicate of Pfaden or Filenames which one Freizeichen imply should quotation marks uses to be The way+Dateiangaben einzuschließen. this is no XPSE-Maßgabe separate CMD requires this.
'example:
 {$cleq}
 {$batch copy "C:XProfan1.exe" "C:1.exe"}

>compiler {$COMPILER A}places File A as Compiler to that Compile the Quelltextes solid. A can directly on a profcomp.exe show, or on a directory. If in example in a Unterverzeichnis namens P8 the To verwendende Compiler lying, reicht following indicated: {$COMPILER P8}. self-evident can also the gesammte way indicated go. through this Kompilerschalter is it possible inside the Quelltextes whom so To verknüpfenden Compiler anzugeben - what against particularly in the Use with Specifically-angefertigten-Runtimes in the reference on Ressourcen useful is, because not each Runtime can each Compilations interpret. becomes this Kompilerschalter next to the Kompilerschalter {$CPP} indicated - so becomes {$CPP} carryed out - and not the under A angegebene Compiler. {$CPP} is means stronger.

>cpp {$CPP}Übergibt whom View source instead of on whom XProfan-Compiler on Prf2Cpp . The Übergabe results naturally only if in the View source too dependent is the the View source To Compile {$C} is.

>debug {$DEBUG}this switch bewirkt the XPSE whom Source so umschreibt, the itself the program during the process row for row self aufschreibt. The spending alights in the gleichnamigen File with the Endung .debug.

Hierbei is To mind, the The .debug-File in the directory the PRF-File laid out becomes - and not possible abweichendem Ausführungsverzeichnis. these one Sicherheitsaspekt which prevent should the with versehendlicher Disclosure of/ one Debugversion the View source into Ausführungsverzeichnis written becomes - and accordingly the View source in Abarbeitungsreihenfolge through each einsehbar would.

Derartiges Debuggen is particularly therefore interestingly - there XPSE so too Verschachtelungen the Quelltextes visible power - and one with one possible Programmabsturz very sees which Line in which procedure for crash Responsible was. it counts: first becomes The row to .debug written, and then carryed out.

Optional can also {$DEBUG ONLYPROCS} uses go. The spending becomes hereon limited only Prozeduraufrufe and the leave of Procedures To protokollieren.


{$DEBUG KERNELOUT}this switch bewirkt the XPSE whom Source so umschreibt, the itself the program during the process row for row self aufschreibt. The spending alights however not of/ one File separate can with a Debugviewer showing. here recommend I DebugView of Sysinternals: https://www.sysinternals.com/Utilities/DebugView.html  In all others Aspekten gleicht this switch the {$DEBUG} - switch. Optional can also {$DEBUG KERNELOUT ONLYPROCS} uses go. The spending becomes hereon limited only Prozeduraufrufe and the leave of Procedures To protokollieren.

>includepath {$INCLUDEPATH A}Fügt A on the pile the To durchsuchenden Paths for Include Files hinzu. it can up to 5 additional Paths indicated go. The in the ProfanEditor angegebenen Includepfade go automatically over {$INCLUDEPATH} eingebunden.

>log {$LOG}Operationen How z.B. left or Compile, The this View source concern, go into xpse.log written.

>mapfile {$MAPFILE}this switch commit whom Kommandozeilenparameter "-M" on whom XProfanCompiler moreover. closer Erläuterungen what "-M" means is the XProfanhilfe (ex Version 9) => "Mapdatei" To entnehmen. in the MapFile standing which Zeilennummer which File (too Includes and Units) angehört.

>noerr {$NOERR}this switch bewirkt the Warnings and Errors gänzlich overlooking go, sodaß one Weiterarbeiten with XPSE too then gewährleistet is if XPSE something not understand what but syntaktisch correctly is. (possible Neuerungen in the XProfansprache self etc...)

>nodef {$NODEF}concerns only Units, it'll no .def-File and no .hlp.html-File laid out. ought to a the Files present his becomes tappt im dunkeln deleted.

>nosectioncheck {$NOSECTIONCHECK}this switch toggles The Sektionskontrolle ex. herewith is meant the Error How:
proc
if
endproc
endif
geduldet go. from the Use the Schalters rate I ex. It can however The situation appear the one z.B. within of/ one older Includedatei z.B. Procedures within IF-Blöcken declared has. circa a discontinue all Vorgänge in this drop entgegenzuwirken is this Kompilerschalter anzuwenden.

>runtime {$RUNTIME A}places File A as Runtime to that left and/or to that Perform solid. A can directly on a prfrun32.exe show, or on a directory. If in example in a Unterverzeichnis namens P8 The To verwendende Runtime lying, reicht following indicated: {$RUNTIME P8}. self-evident can also the gesammte way indicated go. through this Kompilerschalter is it possible inside the Quelltextes The so To verknüpfende Runtime anzugeben - what particularly in the Use with Specifically- angefertigten-Runtimes in the reference on Ressourcen useful is.

>prebatch {$PREBATCH A}lead A to the work out the Compilerschalter from. A can on a Batchdatei or on one Program show, or directly one Batchbefehl his. It can only one Batchbefehl indicated go, what z.B. with $INCLUDEPATH  differently is. TIP: at that indicate of Pfaden or Filenames which one Freizeichen imply should quotation marks uses to be The way+Dateiangaben einzuschließen. this is no XPSE-Maßgabe separate CMD requires this.
'example:
 {$cleq}
 {$prebatch copy "C:XProfan1.exe" "C:1.exe"}

>preferednamespace {$PREFEREDNAMESPACE A}
<iMg src='images/pxt.gif' width=189 height=1/>
antiquated. See <a href='#unit'>{$unit}. places whom bevorzugten Namensraum this Unit on A solid. A becomes then in the automatically begot Help (.hlp.htm-File) to that eigendlichen Identifier displayed. this Kompilerschalter has however yet a others important object with the making of Units! XPSE GetControlParas (B API's from Headern in direct Call 's circa. so The Funktionsadressen not them from others Units, or with them from the Hauptprogramm bump becomes whom variables which itself these Funktionsadressen the Prefix A vorangestellt. In Units is this switch accordingly duty. but no worry, LÃ ¤ runs if it what not fit. :)

Related export , noexport  and unitsupport .

>pushkeyword {$PUSHKEYWORD A}A can one single Keyword, or a enumeration of Keywords his which with comma voneinander separated go. this Kompilerschalter is a Veralterungsschutz the XPSE. with the switch can XPSE explain the The angegebenen KeyWords to that Sprachschatz belong. The switch could z.B. in a INC vorkommen which eingebunden becomes, or as insert to a Unit serve around the therein encompassed command aufzuzeigen.

>res {$RES A}A can one single Keyword, or a enumeration of Keywords his which with comma voneinander separated go. this Kompilerschalter places solid the defined Ressourcen the Exe with XPRR (XProfan Ressource Rebuilder of Frank Abbing https://frabbing.de  ) changed go should. the can z.B. the Exeicon, The Versionsinformation, the Fenstericon or others Ressourcen his.

NOMANIFEST
NOVERSIONINFO

ICON ""
WINDOWICON ""
EXEICON ""
COMPANYNAME ""
FILEDESCIPTION ""
FILEVERSION "1.0.0.0"
INTERNALNAME ""
LEGALCOPYRIGHT ""
LEGALTRADEMARK ""
ORIGINALFILENAME ""
PRODUCTNAME ""
PRODUCTVERSION "1.0.0.0"

Syntax 1:
 {$res productname "meinProduktname"}
 {$res icon "test.ico"}

Syntax 2:
 {$res productname "meinProduktname", icon "test.ico", productversion "1.0.0.0", ...}

Frank Abbing:

i want again deutlicher explain, How XPRR through XPSE using go can:<bR/><bR/><tAbLe style="border:dotted;color:#6666FF" cellspacing=5 cellpadding=5><tR><td><font size=2><b>Icon Resource:</b><bR/><bR/><u>Fenstericon and Exeicon Change:</u><bR/>{$res icon "dateiname.ico" [icongröße] [mindest-icon-bittiefe]}<bR/><bR/><u>Nur Fenstericon Change:</u><bR/>{$res windowicon "dateiname.ico" [icongröße] [mindest-icon-bittiefe]}<bR/><bR/><u>Nur Exeicon Change:</u><bR/>{$res exeicon "dateiname.ico" [icongröße] [mindest-icon-bittiefe]}<bR/><bR/>Die Icongrösse must omitted, in the drop dial XPRR a multiple-Icon-File the latest Icon from. Gültige Grössen are z.B.: 16, 24, 32, 48, 64, 128, ...<bR/>Die Mindest-Icon-Bittiefe must omitted, in the drop dial XPRR a multiple-Icon-File the latest Icon from. Gültige Bittiefen are:<bR/>1=2 colour, 4=16 colours, 8=256 colours, 24=True Color (24 Bits), 32=True Color+Alpha (32 Bits)</font></tR></tD></tAbLe><bR/><tAbLe style="border:dotted;color:#6666FF" cellspacing=5 cellpadding=5><tR><td><font size=2><b>Manifest Resource 24:</b><bR/><bR/><u>Manifest-resource Remove:</u><bR/>{$res nomanifest}</font></tR></tD></tAbLe><bR/><tAbLe style="border:dotted;color:#6666FF" cellspacing=5 cellpadding=5><tR><td><font size=2><b>Version-Info Resource:</b><bR/><bR/><u>Version-Resource Remove:</u><bR/>{$res noversioninfo}<bR/><bR/><u>Einzelne Rubriken the Version-Resource create:</u><bR/>{$res companyname "Firmenname"}<bR/>{$res filedescription "Dateibeschreibung"}<bR/>{$res fileversion "Dateiversion"}<bR/>{$res internalname "Dateiname"}<bR/>{$res legalcopyright "Copyright-Beschreibung"}<bR/>{$res legaltrademark "Trademark-Beschreibung"}<bR/>{$res originalfilename "Originaler Dateiname"}<bR/>{$res productname "Name the Anwendung"}<bR/>{$res productversion "Anwendungsversion"}<bR/><bR/>Jede Rubrik must maximum 256 characters long his.<bR/>FILEVERSION and PRODUKTVERSION must always vierstellig values his, separated by a point.an integrally ordinäre Version 1 should then so looks: 1.0.0.0, what under windows Major.Minor.Build.QFE means.</font></tR></tD></tAbLe><bR/>Für any XProfan-Exedateien, The with XPRR machine go should counts:<bR/><bR/><b>Im equal Ordner as Profan-Exedatei must itself too The PRC-File this Exe find!!! XPRR must these both Files to getaner work manually new verlinken.</b><bR/><bR/>XPSE is in the site, several XPRR-instructions in a row abzuarbeiten, separated through Kommata.<bR/>XPRR ought to itself in the equal Ordner find How XPSE.
<bR/><bR/>

>unit {$UNIT A}places whom bevorzugten Namensraum this Unit on A solid and divides the XProfanKompiler over $L automatically with the it itself circa a Unit deals. $L entfällt means. A becomes in the automatically begot Help (.hlp.htm-File) to that eigendlichen Identifier displayed. this Kompilerschalter has however yet a others important object with the making of Units! XPSE GetControlParas (B API's from Headern in direct Call 's circa. so The Funktionsadressen not them from others Units, or with them from the Hauptprogramm bump becomes whom variables which itself these Funktionsadressen the Prefix A vorangestellt. In Units is this switch accordingly duty. but no worry, LÃ ¤ runs if it what not fit. :)

Related export , noexport  and unitsupport .


Kompilerschalter as KommandozeilenparameterKompilerschalter as Kommandozeilenparameter go ignoring. from kompatiblitätsgründen To different IDE's is the indicated of Kompilerschaltern by Kommandozeilenparameter of course possible, so the XPSE these recognize and so nevertheless whom "richtigen" Filenames detect can, but the übergebenen switch go because of the possible conflicts with Kompilerschaltern in the View source übergangen. following Kommandozeilenparameter which from whom different IDE's famous are go recognized and terminiert: -E -B -L -s -R -M -V -LINK

there's however Specifically for XPSE Kommandozeilenparameter which not ignoring go. For this, More in the cut offed "Kommandozeilenparameter".

 
06/20/07  
 



Note / Question or Comment to the Help--Topic


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.277 Views

Untitledvor 0 min.
GDL08/21/15
Peter Max Müller12/18/14
iF03/13/12
Frank Tretter01/25/12
More...

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie