Re: ver 4.0 found the BUG in WIN98 code

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...
printf(" %d ",{3217040639}) 
if getc(0) then end if 

I get -2147483648 which lower limit of a signed long integer

What about:

   printf(" %d ",3217040639) 

The size of integers will be the same on all platforms on which euphoria currently runs. But euphoria will never store 0x80000000 as a euphoria integer. Any value that high will be stored as a double. And that's also the mask that the backend uses to denote a sequence. I'm not convinced yet that the problem is in the printf code.

BTW, were you running exwc or exw? Because printf/puts statements in the backend will be lost when not in console mode, because the compiled statements only output properly if you're running the console version of euphoria. I think it's because the compiled code doesn't know about the console that exw creates.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu