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:

RAM variables (1997) Classified (1999) WCS Newbie question (1997) SiteGuard Admin Feature ? (1997) Ok here is a question? (1997) Re:Email Problem (1997) Custom Shipping Charges (1997) problems with 2 tags shakur (1997) Can this be done? (1997) Realtor Search (2000) form crasehes server (1997) [WebDNA] reply vs. new (2009) Hosts who have upgraded to v5.0? (2003) Re:2nd WebCatalog2 Feature Request (1996) move files (2000) updating checkbox in a db (1998) WC on Mac OS X or Mac OS X Server 2.x (2001) 2.1 bugs left over from beta cycle (1998) Requiring that certain fields be completed (1997) Database changes (1998)