Re: WriteFile and returns...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31951
interpreted = N
texte = So the problem is that your applet is running on a different platform, and that platform doesn't like those little square characters?First you need to determine what those little square characters are, so you can get rid of them. They are probably nothing more than linefeed characters. So make this special conversions database:from to %0AThen use it like this:[writefile][convertchars db=specialconversions.db] . . #ffffff +Here is the scrolling text [/convertchars][/writefile] >Sorry to keep dragging this out, but that doesn't work either. The >applet has to read >each individual line and compute the first character in order to >know how to display >the text of that line. It's when it finds the square character that >the writefile puts >into the beginning of each line (representing the return) is when >the error occurs. If >I open that file with a text editor and remove those blocks, but >keep the lines >seperated it works fine. I was just hoping to provide my client an >easier way of >managing their message board than writing this file manually and >using FTP. Guess I'll >have to either try and edit the applet, or can it. > >Thanks. > >Kenneth Grome wrote: > >> >Thanks, but I already tried deleting the input context and still the >> >same results. >> >What I'm getting at, is that I need the resulting file to look just >> >like this.... >> > >> >. >> >. >> >#ffffff >> >+Here is the scrolling text >> > >> >If the applet reads this file with the return characters in front of >> >the periods, +'s >> >or #'s it will error out. >> >> Well the way you're displaying it here, the file *does* have return >> characters in front of the periods and +'s, so you have to write it >> without those returns: >> >> [writefile].. >> #ffffff+Here is the scrolling text[/writefile] >> >> ================================ >> Kenneth Grome, WebDNA Consultant >> 808-737-6499 http://webdna.net >> ================================ >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://search.smithmicro.com/ > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://search.smithmicro.com/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: WriteFile and returns... (Robert Wade 2000)
  2. Re: WriteFile and returns... (Robert Wade 2000)
  3. Re: WriteFile and returns... (Kenneth Grome 2000)
  4. Re: WriteFile and returns... (Robert Wade 2000)
  5. Re: WriteFile and returns... (Kenneth Grome 2000)
  6. Re: WriteFile and returns... (Robert Wade 2000)
  7. Re: WriteFile and returns... (Kenneth Grome 2000)
  8. Re: WriteFile and returns... (Robert Wade 2000)
  9. Re: WriteFile and returns... (Kenneth Grome 2000)
  10. Re: WriteFile and returns... (Robert Wade 2000)
  11. Re: WriteFile and returns... (Kenneth Grome 2000)
  12. WriteFile and returns... (Robert Wade 2000)
So the problem is that your applet is running on a different platform, and that platform doesn't like those little square characters?First you need to determine what those little square characters are, so you can get rid of them. They are probably nothing more than linefeed characters. So make this special conversions database:from to %0AThen use it like this:[writefile][convertchars db=specialconversions.db] . . #ffffff +Here is the scrolling text [/convertchars][/writefile] >Sorry to keep dragging this out, but that doesn't work either. The >applet has to read >each individual line and compute the first character in order to >know how to display >the text of that line. It's when it finds the square character that >the writefile puts >into the beginning of each line (representing the return) is when >the error occurs. If >I open that file with a text editor and remove those blocks, but >keep the lines >seperated it works fine. I was just hoping to provide my client an >easier way of >managing their message board than writing this file manually and >using FTP. Guess I'll >have to either try and edit the applet, or can it. > >Thanks. > >Kenneth Grome wrote: > >> >Thanks, but I already tried deleting the input context and still the >> >same results. >> >What I'm getting at, is that I need the resulting file to look just >> >like this.... >> > >> >. >> >. >> >#ffffff >> >+Here is the scrolling text >> > >> >If the applet reads this file with the return characters in front of >> >the periods, +'s >> >or #'s it will error out. >> >> Well the way you're displaying it here, the file *does* have return >> characters in front of the periods and +'s, so you have to write it >> without those returns: >> >> [writefile].. >> #ffffff+Here is the scrolling text[/writefile] >> >> ================================ >> Kenneth Grome, WebDNA Consultant >> 808-737-6499 http://webdna.net >> ================================ >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://search.smithmicro.com/ > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://search.smithmicro.com/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

CORR: date format (2000) Protect and Serve (1999) posting problems + Webcat 3.0.7 available - did anyone know? (2000) Random question (1998) WebCat2: multiple currency support (1997) Thanks ! (1997) OT: Raid Software on OSX (2003) Signal Raised (1997) Virtual Domains (1998) WCS Newbie question (1997) can WC render sites out? (1997) [OT] Happy Turkey Day! (2003) Nested [tags] (2001) Webcatalog, Webstar and Crasharama (1999) WebCatalog can't find database (1997) [WebDNA] New Webdna framework ! ... (addresses some initial concerns... coming into the design of a large project) (2012) cart converting to scientific notation format (2001) Items XX to XX shown (1997) PIXO support (1997) Unauthorized User trouble (1998)