English
Regulars table & Café

Bedingte Compilierung wow!

 

Torsten
Rümker
People
I have me faith I into Bedingte Compilierung in love with
so are so lunatic vereinfachungen possible!

I have straight time one of my projects umgestrickt, has straight time 1047 Lines code,
without Bedingte Compilierung were it yet 1123.
If itself the already with so small Programs noticeable power How said i'm there and wech.

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
05/08/06  
 




Jac
de
Lad
Hm, I Have meanwhile understands what with bedingter Compilierung possible is (in example has one XProfan 11 whom ultimativen commands the in XProfan 10 yet simulate or from several command zusammengestzt go must and the Prog reacted properly), but How becomes therefore the View source kürzer? Kannste me an example name???

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/08/06  
 




Michael
Wodrich
only time so as example
CompileMarkSeparation
Declare Bereichsarray#
Dim Bereichsarray#, 10*4
 $IFNOT XPROFAN11

Proc Mittelwert

    Parameters Arr#, Anzahl%
    Declare Summe&

    WhileLoop 0,Anzahl%-1

        Add Summe&, Long( Arr#, &loop )

    EndWhile

    Return Summe& / Anzahl%

EndProc

 $ENDIF
...
Print Mittelwert( Bereichsarray#,5=s2>)
...

...ex XProfan 11 there then these Funktionsdefinition in the compilierten code not any more... because solid eingebauter commands...

or
CompileMarkSeparation
 $DEFINE debug
 $IFDEF debug

Proc show

    Parameters s$
    MessageBox(s$,"DEBUG",262192)

ENDPROC

 $ELSE

Proc show

    Parameters s$

ENDPROC

 $ENDIF
...
show "VarX= "+VarX$
...
show "VarI= "+Str $(VarI%)

Kommentierst You now the $DEFINE from, then go no Debugmeldungen More attend.

etc.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
05/08/06  
 




Michael
Wodrich

[box:9cddc2fea8]), but How becomes therefore the View source kürzer? Kannste me an example name???

Jac [/box:9cddc2fea8]
...Yes one ought to until end reading...

The View source won't kürzer. there's either Erleicherung with the Programming (see Debug-example) or the Compilat becomes small, there here Yes whole Programmteile not at all first mitcompiliert go.

If one though streng its programs umstellt, then entrapments any of hinten by the bust in that eye Programmierungen lane. the can then already To vastly Einsparungen on Programmcode lead.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
05/08/06  
 




Jac
de
Lad
I see, understand...

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/08/06  
 




Torsten
Rümker
[quote:b470ed4ex6=Michael Wodrich]
If one though streng its programs umstellt, then entrapments any of hinten by the bust in that eye Programmierungen lane. the can then already To vastly Einsparungen on Programmcode lead.

Best wishes
Michael Wodrich[/quote:b470ed4ex6]
very this is by me the case been, I had me in the meantime a admittedly not straight simple but effectively method to that testing of my Source code gebastelt, and the falls by the Opportunities the bedingten Compilierung hold To (geschätzen) 70-80 % lane.

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
05/09/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.353 Views

Themeninformationen



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