Re: put_screen_char() doesn't work with EX under Windows

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

Hi Martin,
I think this is a bug in IMAGE.E file.

On line 336 it currently reads

     if overflow then

but i think it should read

     if overflow > 0 then

If you take a copy of IMAGE.E and change this line as I mentioned, it seems
to work okay. However, by doing that, the number of lines in image.e
contributes to the 300-lines trial version limit. If you have the full
version of Euphoria that won't matter at all.

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

----- Original Message -----
From: martin.stachon at worldonline.cz
To: EUforum
Sent: Thursday, May 10, 2001 3:08 AM
Subject: put_screen_char() doesn't work with EX under Windows



When I tried to use put_screen_char() with Ex.exe (under Win98) i got this
error:

C:\EUPHORIA\include\image.e:337 in procedure put_screen_char()
slice ends past end of sequence (32 > 2)
    line = 1
    column = 65'A'
    char_attr = {57'9',2}
    scr_addr = 753792
    vc = {1,3,25,80'P',0,0,32' ',8}
    overflow = -30

It is a bug or put_screen_char() cannot be used under Windows?


=

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

Search



Quick Links

User menu

Not signed in.

Misc Menu