Re: [if] and [showif]

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45213
interpreted = N
texte = These both work for me too, Setting the variable locally seems to be OK, the problem seems to arise when it's a [TCPConnect] that's creating the contents of the variable. on 13/11/02 3:33 pm, Dan Strong at webdna@stronggraphicdesign.com wrote:> FWIW, the code below works for me on win98/PWM/WC4.0.2.rc2 *AND* > OSX/Apache1.3.19/WC4.0.2.rc2 > -Dan > > On Wed, 13 Nov 2002 07:24:14 -0800 > Dan Strong wrote: >> Hmmm, flush your cache maybe? >> >> [text show=f]ARIN_lookup=blah_RIPE_blah[/text] >> [showif [ARIN_lookup]^RIPE]Yes[/showif] >> [if (([ARIN_lookup]) ^ (RIPE))] >> [then]Yes[/then] >> [else]No[/else] >> [/if] >>
>> Also tried : >> [showif [ARIN_lookup]^RIPE]Yes[/showif] >> [if (([ARIN_lookup])^(RIPE))] >> [then]Yes[/then] >> [else]No[/else] >> [/if] >> >> Returns: >> ------------- >> Yes Yes >> Also tried : Yes Yes >> >> -Dan >> ------------------------------------------------------------ >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> ------------------------------------------------------------ >> NEW! Do-It-Yourself Printing: http://sgd.cceasy.com >> >> >> On Wed, 13 Nov 2002 15:12:48 +0000 >> Mark Derrick wrote: >>> Still getting Yes and no >>> >>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >>> [if (([ARIN_lookup]) ^ (RIPE))][then]Yes[/then][else]No[/else][/if] >>> >>> Also tried : >>> >>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >>> [if (([ARIN_lookup])^(RIPE))][then]Yes[/then][else]No[/else][/if] >> >> ------------------------------------------------------------- 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: [if] and [showif] - A solution (Brian Fries 2002)
  2. Re: [if] and [showif] - A solution (Donovan Brooke 2002)
  3. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  4. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  5. Re: [if] and [showif] (Andrew Simpson 2002)
  6. Re: [if] and [showif] (Pedro Rivera 2002)
  7. Re: [if] and [showif] (Donovan 2002)
  8. Re: [if] and [showif] (Donovan 2002)
  9. Re: [if] and [showif] - A solution (Rob Marquardt 2002)
  10. Re: [if] and [showif] - A solution (Donovan 2002)
  11. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  12. Re: [if] and [showif] - A solution (John Peacock 2002)
  13. Re: [if] and [showif] - A solution (Grant Hulbert 2002)
  14. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  15. Re: [if] and [showif] (Mark Derrick 2002)
  16. Re: [if] and [showif] (Dan Strong 2002)
  17. Re: [if] and [showif] (Alex McCombie 2002)
  18. Re: [if] and [showif] (Dan Strong 2002)
  19. Re: [if] and [showif] (Mark Derrick 2002)
  20. Re: [if] and [showif] (Daryl Mitchell 2002)
  21. Re: [if] and [showif] (Dan Strong 2002)
  22. Re: [if] and [showif] (Mark Derrick 2002)
  23. Re: [if] and [showif] (Dan Strong 2002)
  24. Re: [if] and [showif] (Mark Derrick 2002)
  25. Re: [if] and [showif] (Mark Derrick 2002)
  26. Re: [if] and [showif] (Gary Krockover 2002)
  27. [if] and [showif] (Mark Derrick 2002)
These both work for me too, Setting the variable locally seems to be OK, the problem seems to arise when it's a [tcpconnect] that's creating the contents of the variable. on 13/11/02 3:33 pm, Dan Strong at webdna@stronggraphicdesign.com wrote:> FWIW, the code below works for me on win98/PWM/WC4.0.2.rc2 *AND* > OSX/Apache1.3.19/WC4.0.2.rc2 > -Dan > > On Wed, 13 Nov 2002 07:24:14 -0800 > Dan Strong wrote: >> Hmmm, flush your cache maybe? >> >> [text show=f]ARIN_lookup=blah_RIPE_blah[/text] >> [showif [ARIN_lookup]^RIPE]Yes[/showif] >> [if (([ARIN_lookup]) ^ (RIPE))] >> [then]Yes[/then] >> [else]No[/else] >> [/if] >>
>> Also tried : >> [showif [ARIN_lookup]^RIPE]Yes[/showif] >> [if (([ARIN_lookup])^(RIPE))] >> [then]Yes[/then] >> [else]No[/else] >> [/if] >> >> Returns: >> ------------- >> Yes Yes >> Also tried : Yes Yes >> >> -Dan >> ------------------------------------------------------------ >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> ------------------------------------------------------------ >> NEW! Do-It-Yourself Printing: http://sgd.cceasy.com >> >> >> On Wed, 13 Nov 2002 15:12:48 +0000 >> Mark Derrick wrote: >>> Still getting Yes and no >>> >>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >>> [if (([ARIN_lookup]) ^ (RIPE))][then]Yes[/then][else]No[/else][/if] >>> >>> Also tried : >>> >>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >>> [if (([ARIN_lookup])^(RIPE))][then]Yes[/then][else]No[/else][/if] >> >> ------------------------------------------------------------- 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/ Mark Derrick

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:

Counting, Percentages and Chart Display (2002) Still having problems with Authen (1997) Fed Ex Rate Charts (2003) Not reading code (1997) WebCatalog and WebTen (1997) WC1.6 to WC2 date formatting (1997) Search (1997) embedding commands in form (1999) Shopping carts and reloading pages (1997) Multiple Pulldowns (1997) Just Testing (1997) [WebDNA] Sandbox issues ... (2011) Re:Emailer tracking (1997) Cart Creation (2003) WebCat2b13MacPlugin - nested [xxx] contexts (1997) RE: E-mailer error codes (1997) Dubble Sku's in a Database (1999) Smith Micro, possible listserver problems ... (2000) WebCat2 - storing unformatted date data? (1997) Log-in Scheme (2003)