1. Replies to various stuff
- Posted by Einar Mogen <nord.staernes at ROLLAG.MAIL.TELIA.COM> May 10, 1998
- 573 views
- Last edited May 11, 1998
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
2. Re: Replies to various stuff
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> May 10, 1998
- 603 views
>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]