WriteFile and returns...
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31938
interpreted = N
texte = Can anyone suggest a way to use a writefile context in a way that won'tput the return character at the beginning of each new line in theresulting file? I've built a remote admin page for a site that issupposed to allow the user to change the message in a scrolling JavaApplet.All works well except for that return character. Since the resultingfile (scroller.txt) is used in an applet, the text isn't directly pulledinto the page, therefore it never gets processed by WebCat, so I can'twrap a [convertchars] context around it to get rid of the returncharacters. The way the applet works, it reads the first character ofeach new line to give it a color, justification or some other function.When it sees that return character it freaks out and doesn't work.The scroller.txt file should look like this.....#ffffff+Here is some scrolling text.+Here is some more scrolling textBut instead, everytime scroller.txt is edited with the writefile, itresembles this... ( []
.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:
Can anyone suggest a way to use a writefile context in a way that won'tput the return character at the beginning of each new line in theresulting file? I've built a remote admin page for a site that issupposed to allow the user to change the message in a scrolling JavaApplet.All works well except for that return character. Since the resultingfile (scroller.txt) is used in an applet, the text isn't directly pulledinto the page, therefore it never gets processed by WebCat, so I can'twrap a [convertchars] context around it to get rid of the returncharacters. The way the applet works, it reads the first character ofeach new line to give it a color, justification or some other function.When it sees that return character it freaks out and doesn't work.The scroller.txt file should look like this.....#ffffff+Here is some scrolling text.+Here is some more scrolling textBut instead, everytime scroller.txt is edited with the writefile, itresembles this... ( [] .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/
Robert Wade
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:
webcat- multiple selection in input field (1997)
Re:Random Command (1997)
Verisigns SDK (pay flo pro) (2002)
Shipcost lookup? (1997)
Getting Emailer to send mail (1997)
Smart caching problems with 2.1b3? (1997)
Running 2 two WebCatalog.acgi's (1996)
[carts] and databases (1997)
japanese characters (1997)
Protect vs Authenicate (1997)
'Document Contains No Data' (1999)
I think WebDNA-Talk died ... :( (1997)
[WebDNA] WebDNA Crashing or Not **YES** (2008)
Cache Access Error (2000)
unable to launch acgi in WebCat (1997)
This list needs a digest: rant, rave... (1997)
Database access (2003)
Assigning new CART number (1997)
[WebDNA] WebMerchant again (2015)
FORMS: Returning a specific page (1997)