1. Replies to various stuff

First I would like to point out one thing in the "Sequences and long
filenames" chain (or thread or whatever). This statement:

> if sequence( data ) then
>     -- Print sequence
>     printf( fn, "\"%s\"", data )

will print s = "Kato \"Badass\" Love" as [..]"Kato "Badass" Love"[..] in the
file, and will get() be able to read those extra qoutemarks correctly? I
have not tested this, but I did not think so.

Next is Daniel Bernstein with "PDF":

> I found at Adobe's site a PDF (350+ pages) document describing PDF file
> format... looks quite interesting, maybe I dare to code an Euphoria PDF
> creator. (will probably kill Stackplayer, sorry Eduardo)

If you look for simplicity and space-saving, I would stay with Eduardo's
Stackplayer. And also while you skim those 350 pages we have to. But when
you finish, it would be great!

And Humberto Yeverino Jr. wrote

> "I kick ass for the Lord."

"Braindead" - great movie!

Cya all!

Einar Mogen
Slimesoft

new topic     » topic index » view message » categorize

2. Re: Replies to various stuff

>First I would like to point out one thing in the "Sequences and long
>filenames" chain (or thread or whatever). This statement:
>
>> if sequence( data ) then
>>     -- Print sequence
>>     printf( fn, "\"%s\"", data )
>
>will print s = "Kato \"Badass\" Love" as [..]"Kato "Badass" Love"[..]
>in the file, and will get() be able to read those extra qoutemarks
correctly?
>I have not tested this, but I did not think so.
>

Yes, it will mess the stuff up. I made a program specific routine to save
a simple database program's (using David Cuny's TextGUI) data to a file.
All you have to do is go through the sequence and test for a \", then
insert a \\ before it. Here is some untested and unoptimized code that
should get the job done:

integer something

something = -1
while 1 do
    something = find('\"', data[something+2..length(data)])
    if something then
        data = data[1..something-1] & '\\' &
data[something..length(something)]
    else
        exit
    end if
end while


_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

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

Search



Quick Links

User menu

Not signed in.

Misc Menu