Re: regarde et apprend, watch and listen

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

------=_NextPart_000_0052_01BDE43D.E9B47E20
        charset="iso-8859-1"



>i want to see an example of save_text_image to save a snapshot of the
>screen, save the resulting sequence into a file, and use another program
>to bring it back. I tried that, but in the process of displaying it with
>display_text_image, Euphoria says something about not defining the length
>of an atom. I think it reads: "Length of atom not defined".


Two, very clean, easy to understand, programs are attached.
One saves the image, the other loads it back up and shows it.

If the filename is not given as an argument, it is prompted for.
We'll be using Jiri's trim function (mine only handles spaces) to clean up
the filename.

We'll be using standard I/O to save and store whole euphoria objects.
The program looks big, but thats just because this is the cleanest best,
approuch.
It could have been done in 5 lines, I guess.

Anyways, I hope these will help you..

Ralf Nieuwenhuijsen


------=_NextPart_000_0052_01BDE43D.E9B47E20
        name="txtshow.ex"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu