English
Bugs and vermeintliche

differences Interpreter <> Exe

 
- Page 1 -



E.T.
in the Interpreter funktionierts:
SubProc Create.BigPicButton

    Parameters Ziel&, Text$, PosX%, PosY%, wide%, Hoehe%, Icon&
    var BigPicButton& = @control("Button",Text$,$50012200+$2000000,PosX%,PosY%,wide%,Hoehe%,Ziel&,100,%Hinstance)
    Button_Refresh BigPicButton&, Icon&
    Return BigPicButton&

ENDPROC

Proc Button_Refresh

    Parameters Button&, Icon&
    var Refresh_Button&=@control("Static","",$50000003,5,5,32,32,Button&,0,%Hinstance)
    @Sendmessage(Refresh_Button&,$170,Icon& ,0)

ENDPROC

Windowstyle 16+8+2+512
Window 100,100
Window Title "ButtonTest" + " -- " + $ProfVer
UseIcon "A"
var Icon1& = @Create("hIcon","baum")
var Button& = @Create("BigPicButton",%HWnd,"Test- \nButton ",10,10,100,42,Icon1&)
waitinput
DeleteObject Icon1&
end



Compiliert GEHTS not:



Getestet with XProfan 11.2 / X2-R1

12 kB
Hochgeladen:11/16/10
Downloadcounter242
Download
10 kB
Hochgeladen:11/16/10
Downloadcounter236
Download
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/16/10  
 



 
- Page 6 -



Dieter
Zornow
Yes I, because the no logischer Error is, Gibts the at all, with code the sequentiell worn out becomes ? If one on the core goes is it one Variablenproblem. can you time an example for a logischen Error give
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/16/10  
 




E.T.
and Why should Interpreter & Compilations on one and demselbem system not too same react ??
means is still with Interpreter & Compilations one Difference, otherwise would it both same react...
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/17/10  
 



@Dieter: mögl.log.bow:
call(12345)

can from xprofansicht weder as wrong or correctly. rated go.

@E.T.:

therefore can also not expects go, that obiger code in the Interpreter or Compilations same expires.

It can time this occur, time the, ... time nothing.

so my I hold, that with fehlerhaftem code (herewith only logische Error meant never Syntaktische!) one not expect can, that this in unterschiedlichen entourages (alike whether Interpreter/ Compilations/ Win98/ Win7...) same carryed out becomes.
 
11/17/10  
 




Dieter
Zornow
If 12345 a handle is, is it Yes ok, in the others drop is it no logischer Error separate crept and simply Blödsinn.
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/17/10  
 



Why Blödsinn if I before on The address Opcode write or quite there already Opcode standing? How want You WinXP? behind of/ one address on "logischen" Opcode testing?

Dieter Zornow (17.11.10)
If 12345 a handle is, is it Yes ok,


sooner not, then Gibts sooner a crash because behind the worth one Handles not too on selbiger Speicheradresse "nützlicher" code stand must or. it even sooner unwahrscheinlich is.
 
11/17/10  
 




Dieter
Zornow
If you the made have and there a function or so lying, where is then the logische Error ?
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/17/10  
 




Dieter
Zornow
if I a address aufrufe without to know what there drin standing is it still Bödsinn or How would you the Bezeichnen, has In any drop nothing with Logik To do
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/17/10  
 



Blödsinn <> Logik

therefore GEHTS still...

XProfan can't know, whether the Call crashes - or not - or How it crashes - means not discern/ know whether a logischer Error vorliegt.

therefore can neither expect, that Interpreter and Runtime with logischen Programmfehlern gleichermassen react.
 
11/17/10  
 




E.T.
...and ifs still no logischer is...
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/17/10  
 




E.T.
...one simpler Error the Variablenzuweisung, the ought to for Interpreter and Compiler not the trouble his, this GLEICH To treat.

Nachtrag: self XPSE has nothing bemeckert...
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
11/17/10  
 




Dieter
Zornow
who a Call in that blue mail must with a crash or schlimmeres calculate. If I the make would, could so did i never Profan for Responsible make. i'd but insist, that with one Call in that blue with Interpreter and Runtime the Result same is, ONE ABSTURZ
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
11/17/10  
 



Syntaktische - and the ought to sooner _keine Discussion his - should naturally angewarnt go.

small Logischer:
cls
var m&=globalAlloc(gPTR,4)-4
long m&,8=20
print long(m&,8)
waitinput
end

here schreib I 4 byte To far übern memory... according to windows/ Sys/ mood funktionierts or times not - or maln ExitCode, or ....
 
11/17/10  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

53.175 Views

Untitledvor 0 min.
Chregu Mueller03/22/14
tomjoy197302/19/14
Jupp Fitten02/03/14
Pauli01/11/14
More...

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