1. get_text_image/save_text_image

Mr. Craig,

The subject functions don't seem to be working properly for me in a 
Windows console running exw.

Here's an example that shows the problem

-- begin screen test
include image.e
include get.e
object timage, void
for t=1 to 50 do
    puts(1,rand(26) + 'A' - 1)
end for
timage = save_text_image({1,1},{25,80})
clear_screen()
display_text_image( {1,1}, timage)
void = wait_key()
-- end screen test

I should see the random string of letters, but I don't!

-ck

new topic     » topic index » view message » categorize

2. Re: get_text_image/save_text_image

C. K. Lester wrote:

>
> Mr. Craig,
>
> The subject functions don't seem to be working properly for me in a 
> Windows console running exw.
>
I just looked at the "display_text_image" docs and it doesn't include 
Win32 in its platform spec. Hmmmm. :) Why not?!

new topic     » goto parent     » topic index » view message » categorize

3. Re: get_text_image/save_text_image

I see them perfectly running Euphoria 2.2 on Windows XP

C. K. Lester wrote:

>
> Mr. Craig,
>
> The subject functions don't seem to be working properly for me in a 
> Windows console running exw.
>
> Here's an example that shows the problem
>
> -- begin screen test
> include image.e
> include get.e
> object timage, void
> for t=1 to 50 do
>    puts(1,rand(26) + 'A' - 1)
> end for
> timage = save_text_image({1,1},{25,80})
> clear_screen()
> display_text_image( {1,1}, timage)
> void = wait_key()
> -- end screen test
>
> I should see the random string of letters, but I don't!
>
> -ck

new topic     » goto parent     » topic index » view message » categorize

4. Re: get_text_image/save_text_image

C. K. Lester wrote:
>> The subject functions don't seem to be working properly for me in a 
>> Windows console running exw.
>>
> I just looked at the "display_text_image" docs and it doesn't include 
> Win32 in its platform spec. Hmmmm. :) Why not?!

I didn't get around to implementing save_text_image() or 
display_text_image() for WIN32 consoles, but I think
they wouldn't be too hard. I'll look into it.

Thanks,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: get_text_image/save_text_image

Guillermo Bonvehi wrote:

>
> I see them perfectly running Euphoria 2.2 on Windows XP

Are you running the code with EXW.EXE? Weird, 'cuz RC said he hasn't 
implemented it for Win32 yet...

>
> C. K. Lester wrote:
>
>>
>> Mr. Craig,
>>
>> The subject functions don't seem to be working properly for me in a 
>> Windows console running exw.
>>
>> Here's an example that shows the problem
>>
>> -- begin screen test
>> include image.e
>> include get.e
>> object timage, void
>> for t=1 to 50 do
>>    puts(1,rand(26) + 'A' - 1)
>> end for
>> timage = save_text_image({1,1},{25,80})
>> clear_screen()
>> display_text_image( {1,1}, timage)
>> void = wait_key()
>> -- end screen test
>>
>> I should see the random string of letters, but I don't!
>>
>> -ck
>
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

6. Re: get_text_image/save_text_image

No, it was ex.exe running on Windows, I assumed you were doing the same.

C. K. Lester wrote:

>
> Guillermo Bonvehi wrote:
>
>>
>> I see them perfectly running Euphoria 2.2 on Windows XP
>
>
> Are you running the code with EXW.EXE? Weird, 'cuz RC said he hasn't 
> implemented it for Win32 yet...
>
>>
>> C. K. Lester wrote:
>>
>>>
>>> Mr. Craig,
>>>
>>> The subject functions don't seem to be working properly for me in a 
>>> Windows console running exw.
>>>
>>> Here's an example that shows the problem
>>>
>>> -- begin screen test
>>> include image.e
>>> include get.e
>>> object timage, void
>>> for t=1 to 50 do
>>>    puts(1,rand(26) + 'A' - 1)
>>> end for
>>> timage = save_text_image({1,1},{25,80})
>>> clear_screen()
>>> display_text_image( {1,1}, timage)
>>> void = wait_key()
>>> -- end screen test
>>>
>>> I should see the random string of letters, but I don't!
>>>
>>> -ck
>>
>

new topic     » goto parent     » topic index » view message » categorize

7. Re: get_text_image/save_text_image

Guillermo Bonvehi wrote:

>
> No, it was ex.exe running on Windows, I assumed you were doing the same.
>
Ok... mine works fine with ex.exe also... But I need it to work with 
exw.exe... Rob?! :)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu