Re: [writefile] ugliness

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36682
interpreted = N
texte = Writefile doesn't do databases. Use Append instead. Besides, the info in physlot.db is written into RAM. To change the info WC has stored, you need to flush that info from memory.Seems like it would be a lot easier to use something like:[deletefile file=physlot.db] [FLUSHDATABASES] [writeFile physlot.db] [Append db=physlot.db&Replace=T] YourStuffHere [/writefile] ------------------------------------------------------------- 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] ugliness (Kenneth Grome 2001)
  2. Re: [writefile] ugliness (Glenn Busbin 2001)
  3. [writefile] ugliness continued (Conley Hanson 2001)
  4. [writefile] ugliness (Conley Hanson 2001)
Writefile doesn't do databases. Use Append instead. Besides, the info in physlot.db is written into RAM. To change the info WC has stored, you need to flush that info from memory.Seems like it would be a lot easier to use something like:[deletefile file=physlot.db] [flushdatabases] [writeFile physlot.db] [Append db=physlot.db&Replace=T] YourStuffHere [/writefile] ------------------------------------------------------------- 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/ Glenn Busbin

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:

WebCat2: Formulas.db question (1997) [append] and SSL (1997) Sorting Numbers (1997) WC2b15 File Corruption (1997) Ends With (2003) searches with dash, period etc. (2000) problem serving foreign languages text (1997) Search and Change (2003) headers (2000) Trouble with formula.db + more explanation (1997) For those of you not on the WebCatalog Beta... (1997) RE: protect tag not working (1998) [Sum] function? (1997) flushdatabases (1997) RE: Discounting prices across a site (1997) More to Expire (1998) [redirect] question (2005) Emailer help....! (1997) mac hack (1997) japanese characters (1997)