Re: [WebDNA] help with writefile

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 110036
interpreted = N
texte = What are you actually trying to accomplish? You're repetitively writing then deleting temporary.txt files. Why? Sincerely, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com WebDNA Programming and Linux Server Administration > Hi All, > Here is my code: (I knew that you would ask) > > > > > > > > [writefile temporary.txt]0[/writefile] >  > [search > db=story.db&geSTORYNUMBERdata=1&asNEWSLETTERsort=1&NEWSL > ETTERtype=num] [founditems] > [hideif [OFF]=True] >  >  >  > [/hideif] > [/founditems] > [/search] >
> [showif [NEWSLETTER]>0] > [include temporary.txt], > [deletefile temporary.txt] > [writefile temporary.txt] [NEWSLETTER][/writefile] > [NEWSLETTER] > [/showif] > 
> > > > > Here is my db: > STORYNUMBEROFFNEWSLETTER > 100014 > 100112 > 1002 > 100318 > 100413 > 100617 > 100716 > 1009 > 1010 > 1011 > 1012 > 1013 > 1014 > 1015 > 10169 > 10178 > 10186 > 101910 > 102011 > 1021 > 1022 > 10237 > 1024 > 1025 > 1026 > 1027 > 1028 > 1029 > 1030 > 1031 > 1032 > 1033 > 1034 > 1035 > 1036 > 1037 > 1038 > 1039 > 10405 > 1044TRUE > 1045TRUE > 10464 > 10473 > 10482 > 10491 > > Here is my result: > 0, 1 > 0, 2 > 0, 3 > 0, 4 > 0, 5 > 0, 6 > 0, 7 > 0, 8 > 0, 9 > 0, 10 > 0, 11 > 0, 12 > 0, 13 > 0, 14 > 0, 16 > 0, 17 > 0, 18 > > Here is my question: > Why won't it execute the writefile tag inside of the > founditems tag? > > Thank for any insight. > Steve Braun Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] help with writefile (WebDNA Solutions 2012)
  2. Re: [WebDNA] help with writefile (Stephen Braun 2012)
  3. Re: [WebDNA] help with writefile (WebDNA Solutions 2012)
  4. Re: [WebDNA] help with writefile (WebDNA Solutions 2012)
  5. Re: [WebDNA] help with writefile (Stephen Braun 2012)
  6. Re: [WebDNA] help with writefile (Iphonzie 2012)
  7. Re: [WebDNA] help with writefile (WebDNA Solutions 2012)
  8. [WebDNA] help with writefile (Stephen Braun 2012)
What are you actually trying to accomplish? You're repetitively writing then deleting temporary.txt files. Why? Sincerely, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com WebDNA Programming and Linux Server Administration > Hi All, > Here is my code: (I knew that you would ask) > > > > > > > > [writefile temporary.txt]0[/writefile] >  > [search > db=story.db&geSTORYNUMBERdata=1&asNEWSLETTERsort=1&NEWSL > ETTERtype=num] [founditems] > [hideif [OFF]=True] >  >  >  > [/hideif] > [/founditems] > [/search] >
> [showif [NEWSLETTER]>0] > [include temporary.txt], > [deletefile temporary.txt] > [writefile temporary.txt] [NEWSLETTER][/writefile] > [NEWSLETTER] > [/showif] > 
> > > > > Here is my db: > STORYNUMBEROFFNEWSLETTER > 100014 > 100112 > 1002 > 100318 > 100413 > 100617 > 100716 > 1009 > 1010 > 1011 > 1012 > 1013 > 1014 > 1015 > 10169 > 10178 > 10186 > 101910 > 102011 > 1021 > 1022 > 10237 > 1024 > 1025 > 1026 > 1027 > 1028 > 1029 > 1030 > 1031 > 1032 > 1033 > 1034 > 1035 > 1036 > 1037 > 1038 > 1039 > 10405 > 1044TRUE > 1045TRUE > 10464 > 10473 > 10482 > 10491 > > Here is my result: > 0, 1 > 0, 2 > 0, 3 > 0, 4 > 0, 5 > 0, 6 > 0, 7 > 0, 8 > 0, 9 > 0, 10 > 0, 11 > 0, 12 > 0, 13 > 0, 14 > 0, 16 > 0, 17 > 0, 18 > > Here is my question: > Why won't it execute the writefile tag inside of the > founditems tag? > > Thank for any insight. > Steve Braun WebDNA Solutions

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:

Formulas.db + Users.db (1997) [ot] table gap help?!? (2001) Encrypt Problems (2000) error: Too many nested [xxx] contexts (1997) [WebDNA] FedEx (2016) mac hack (1997) Reversed words (1997) member logins database (2003) How To question on setting up downloads (1997) Setting up WebCatalog with Retail Pro data (1996) [cart] not being interpreted inside [founditems] (1997) More Applescript (1997) Lineitems [text*] (2004) Serial Number Question (1997) WebCat2 - [SendNews] (1997) Replace with Producteditor.tpl (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Webcat causing crashes left and right! (1997) Plugin or CGI or both (1997) emailer setup (1997)