Re: Error Message not really useful ...

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...

I'm thinking that forward referencing here should be permitted because if we replace the offending lines with this, everything works ...

global constant CBEM_DELETEITEM         =  cb_delete_code()  
global constant CB_DELETESTRING         =  cb_delete_code() 
function cb_delete_code() 
    return #0144 
end function 

This one make me really nervous

global constant CBEM_DELETEITEM         =  CB_DELETESTRING 
global constant CB_DELETESTRING         = #0144 
 
printf(1,sprintf("%x", CBEM_DELETEITEM)&"\n") 
printf(1,sprintf("%x",CB_DELETESTRING) &"\n") 

results in this output (no error) with

C:\euDesigner\tindemo>c:\euDesigner\eu4\bin\eui.exe crashtest.exw 
0 
144 

Using this interpreter

C:\euDesigner\tindemo>c:\euDesigner\eu4\bin\eui.exe 
Euphoria Interpreter v4.1.0 development 
   32-bit Windows, Using Managed Memory 
   Revision Date: 2012-05-30 14:45:44, Id: 5568:aa6d6b7d74a3 
 
ERROR: Must specify the file to be interpreted on the command line 

Also i had the same Interpreter dying with Signal 5 using the complete include file. But i can't reproduce it with only a few lines.

Andreas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu