English
Forum

Which code is effective ?

 

CompileMarkSeparation
----------------------------------

IF CLICKED(kill%) | MenuItem(60)

    IF aktiv_modus$=OBEN

        DATEI_LOESCHEN datnameO$

    ELSEIF aktiv_modus$=UNTEN

        DATEI_LOESCHEN datnameU$

    ENDIF

ENDIF

---------------------------------

IF CLICKED(etat_zu%) | MenuItem(62)

    Case aktiv_modus$=OBEN:DATEI_SCHLIESSEN datnameO$
    Case aktiv_modus$=UNTEN:DATEI_SCHLIESSEN datnameU$

ENDIF

--------------------------------n class=s2>-

Hello on any
is the upper code (ElseIf...) rather or the downstairs with Case ... ?
functions do both ?
 
01/07/08  
 




Jac
de
Lad
If you XPSE uses becomes the Case in if transformed. as far as i know is case too slower as if.

otherwise is the upper effective, there in the drop 1 only once one comparison made go must.
 
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
01/07/08  
 



Oberster, however effective is

select aktiv_modus$

caseof supra: blub
caseof under: blub

endselect

particularly then if aktiv_modus$ one argument is
 
01/07/08  
 



Daaaaanke !
 
01/07/08  
 




CompileMarkSeparation
case (CLICKED(kill%) | MenuItem(60)) : DATEI_LOESCHEN(if(aktiv_modus$=OBEN,datnameO$,datnameU$))
>

fundamentally can say apiece less code so fixer. my fundamentally is as behördliches fundamentally To understand - should hot the it naturally Ausnahmen give can.
 
01/07/08  
 




Jac
de
Lad
I faith Roland has time erwähnt, that The If()-function not faster is.
 
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
01/07/08  
 



the i was.
 
01/07/08  
 




Jac
de
Lad
 
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
01/07/08  
 



Since I with two Show work, must each action gesteuert go (aktiv_modus$ OBEN or UNTEN) therefore always these IF - ELSEIF - ENDIF - request - to that better understanding one Screenshot - always The display with the blue Headline is active - Gelle

154 kB
Kurzbeschreibung: Beta-Version - MoneyGuard-2
Hochgeladen:01/07/08
Downloadcounter190
Download
 
01/07/08  
 



now there You eh only 2 Show have reicht it to z.B. supra To Verify, otherwise is it Yes eh under - thatswhy my Einzeiler.
 
01/07/08  
 



Desdewejen !
 
01/07/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

968 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 3 subscriber:

unbekannt (4x)
iF (4x)
Jac de Lad (3x)


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