Re: Phix: oops

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

Ah, that brings back some unpleasant memories... Not really a big deal, but it's getting confused over a couple of variable names, in this case line 352 of tinlib.ew is:

public constant True = 1 
public constant False = 0 

Thank you.
I think I owe you a coffee.

Andreas

while i was inserting the change, i somehow came across this (only p64 or pw64)

-- a comment 
 
abort(0) 
 

there is a blank line before and after abort(0)

D:\devpool\projects\demo\easy4eu\write.exw:4 
abort(0) 
^Warning: statement after abort() will never be executed 
 
 
Press Enter, or d for diagnostics... 
D:\devpool\Phixsetup1.0.5\Phix\pmsgs.e:341 in procedure Warnings() 
attempt to divide by 0 
    fn = 1 
    wi = {"abort(0)",1,{"statement after abort() will never be executed\n",`D:\devpool\projects\demo\easy4eu\write.exw`,4}} 
    buttons = {"Next","&Skip remainder",0} 
    witxt = "D:\\devpool\\projects\\demo\\easy4eu\\write.exw:4\nabort(0)\n^Warning: statement after abort() will never be executed\n\n" 
    fn1 = 1 
    r = <novalue> 
    i = 0 
... called from D:\devpool\Phixsetup1.0.5\Phix\p.exw:2063 in function main() 
    savepath = `D:\devpool\projects\demo\easy4eu` 
    outfile = <novalue> 
 
Global & Local Variables 
 
--> see D:\devpool\projects\demo\easy4eu\ex.err 
Press Enter... 

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

Search



Quick Links

User menu

Not signed in.

Misc Menu