Re: Variable is resetting itself...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34812
interpreted = N
texte = see below-Matthew Levy wrote:> Hi guys, > > I am having a problem with the variable [myflag] resetting itself after > going through the loop only once when I am creating a scenario where it is > going through the loop twice. It IS going through the loop twice but the > variable is resetting itself back to false after the first time. > > [text]myFlag=F[/text] > > [loop start=1&end=[search > db=/db/download.db&nedownload_iddata=[blank]][numfound][/search]] > [showif [getchars > start=1&end=3][interpret][download_[index]][/interpret][/getchars]=101] > [hideif [myFlag]=T] > [sendmail to=[lookup > db=/db/session.db&value=[session_id]&lookinfield=session_id&returnfield=user > _email]&from=sales@aecsoft.com&subject=Thank you for your download] > [include file=/includes/messages/ftsgen.inc&raw=F] > [/sendmail] > [myFlag]=TIs this ^^^^ supposed to set the var 'myFlag' to the value T? Use a [text] context.> > [/hideif] > [/showif] > [/loop] > > Matthew Levy > AEC Software, Inc. > mlevy@aecsoft.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/ ------------------------------------------------------------- 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: Variable is resetting itself... (John Butler 2000)
  2. Variable is resetting itself... (Matthew Levy 2000)
see below-Matthew Levy wrote:> Hi guys, > > I am having a problem with the variable [myflag] resetting itself after > going through the loop only once when I am creating a scenario where it is > going through the loop twice. It IS going through the loop twice but the > variable is resetting itself back to false after the first time. > > [text]myFlag=F[/text] > > [loop start=1&end=[search > db=/db/download.db&nedownload_iddata=[blank]][numfound][/search]] > [showif [getchars > start=1&end=3][interpret][download_[index]][/interpret][/getchars]=101] > [hideif [myFlag]=T] > [sendmail to=[lookup > db=/db/session.db&value=[session_id]&lookinfield=session_id&returnfield=user > _email]&from=sales@aecsoft.com&subject=Thank you for your download] > [include file=/includes/messages/ftsgen.inc&raw=F] > [/sendmail] > [myFlag]=TIs this ^^^^ supposed to set the var 'myFlag' to the value T? Use a [text] context.> > [/hideif] > [/showif] > [/loop] > > Matthew Levy > AEC Software, Inc. > mlevy@aecsoft.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/ ------------------------------------------------------------- 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/ John Butler

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:

WebCat2b15MacPlugin - showing [math] (1997) FAX orders (1996) Another bug to squash (WebCat2b13 Mac .acgi) (1997) credit card # checker ??? (2004) completed orders database (1997) search engine friendly URLS (Mac) and Lycos! (1998) Not really WebCat (1997) Cancel Subscription (1996) Authenticate (1997) two unique banners on one page (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) SQL Tutorial (1998) Requiring that certain fields be completed (1997) Unusual characters in the db ... (2002) Date Sorting (1997) Latest WebCat release version (1998) autosensing lanague selection (1997) WebCat NT v. Mac (1997) Accentued characters in emails (2000) Founditems Add/remove graphic display problem (1999)