Re: [if] and [showif]

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45209
interpreted = N
texte = 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]on 13/11/02 3:06 pm, Dan Strong at webdna@stronggraphicdesign.com wrote:> Try this: > [if (([ARIN_lookup]) ^ (RIPE))][then]Yes[/then][else]No[/else][/if] > > -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:01:50 +0000 > Mark Derrick wrote: >> Doh! Wrong example! >> >> Try this one: >> >> [text show=f]ARIN_lookup=[Middle >> StartAfter=
&EndBefore=
] >> [TCPConnect host=ws.arin.net] >> [TCPSend]GET /cgi-bin/whois.pl?queryinput=212.240.96.24 >> HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL] >> [/TCPSend][/TCPConnect] >> [/middle][/text] >>
>> [ARIN_lookup] >>
>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >> [if [ARIN_lookup] ^ RIPE][then]Yes[/then][else]No[/else][/if] >> >> Sorry. >> >> >> >> on 13/11/02 2:57 pm, Mark Derrick at mark.derrick@computerwarehouse.co.uk >> wrote: >> >>> Here's the full code: >>> >>> >>> [text show=f]ARIN_lookup=[Middle >>> StartAfter=
&EndBefore=
] >>> [TCPConnect host=ws.arin.net] >>> [TCPSend]GET /cgi-bin/whois.pl?queryinput=129.42.19.99 >>> HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL] >>> [/TCPSend][/TCPConnect] >>> [/middle][/text] >>>
>>> [ARIN_lookup] >>>
>>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >>> [if [ARIN_lookup] ^ RIPE][then]Yes[/then][else]No[/else][/if] >>> >>> >>> on 13/11/02 2:42 pm, Gary Krockover at gary@garykrockover.com wrote: >>> >>>> This equates to yes for me: >>>> >>>> [text]variable=SomeText[/text] >>>> [if [variable] ^ SomeText] >>>> [then]Yes[/then] >>>> [else]No[/else] >>>> [/if] >>>> >>>> as does this... >>>> >>>> [text]variable=SomeText[/text] >>>> [if (([variable])^(SomeText))] >>>> [then]Yes[/then] >>>> [else]No[/else] >>>> [/if] >>>> >>>> Sure your variable contains the text that you think it does? >>>> >>>> GK >>>> >>>> >>>> >>>>> Why does: >>>>> >>>>> [showif [variable] ^ SomeText]Yes[/showif] >>>>> >>>>> Return yes, but: >>>>> >>>>> [if [variable] ^ SomeText] >>>>> [then]Yes[/then] >>>>> [else]No[/else] >>>>> [/if] >>>>> >>>>> Return no? >>>>> >>>>> >>>>> Thanks. >> ------------------------------------------------------------- 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)
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]on 13/11/02 3:06 pm, Dan Strong at webdna@stronggraphicdesign.com wrote:> Try this: > [if (([ARIN_lookup]) ^ (RIPE))][then]Yes[/then][else]No[/else][/if] > > -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:01:50 +0000 > Mark Derrick wrote: >> Doh! Wrong example! >> >> Try this one: >> >> [text show=f]ARIN_lookup=[Middle >> StartAfter=
&EndBefore=
] >> [TCPConnect host=ws.arin.net] >> [tcpsend]GET /cgi-bin/whois.pl?queryinput=212.240.96.24 >> HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL] >> [/TCPSend][/TCPConnect] >> [/middle][/text] >>
>> [ARIN_lookup] >>
>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >> [if [ARIN_lookup] ^ RIPE][then]Yes[/then][else]No[/else][/if] >> >> Sorry. >> >> >> >> on 13/11/02 2:57 pm, Mark Derrick at mark.derrick@computerwarehouse.co.uk >> wrote: >> >>> Here's the full code: >>> >>> >>> [text show=f]ARIN_lookup=[Middle >>> StartAfter=
&EndBefore=
] >>> [TCPConnect host=ws.arin.net] >>> [tcpsend]GET /cgi-bin/whois.pl?queryinput=129.42.19.99 >>> HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL] >>> [/TCPSend][/TCPConnect] >>> [/middle][/text] >>>
>>> [ARIN_lookup] >>>
>>> [showif [ARIN_lookup]^RIPE]Yes[/showif] >>> [if [ARIN_lookup] ^ RIPE][then]Yes[/then][else]No[/else][/if] >>> >>> >>> on 13/11/02 2:42 pm, Gary Krockover at gary@garykrockover.com wrote: >>> >>>> This equates to yes for me: >>>> >>>> [text]variable=SomeText[/text] >>>> [if [variable] ^ SomeText] >>>> [then]Yes[/then] >>>> [else]No[/else] >>>> [/if] >>>> >>>> as does this... >>>> >>>> [text]variable=SomeText[/text] >>>> [if (([variable])^(SomeText))] >>>> [then]Yes[/then] >>>> [else]No[/else] >>>> [/if] >>>> >>>> Sure your variable contains the text that you think it does? >>>> >>>> GK >>>> >>>> >>>> >>>>> Why does: >>>>> >>>>> [showif [variable] ^ SomeText]Yes[/showif] >>>>> >>>>> Return yes, but: >>>>> >>>>> [if [variable] ^ SomeText] >>>>> [then]Yes[/then] >>>>> [else]No[/else] >>>>> [/if] >>>>> >>>>> Return no? >>>>> >>>>> >>>>> Thanks. >> ------------------------------------------------------------- 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:

foreign character sets and conversions (1998) Re1000001: Setting up shop (1997) WebCat2 - [format thousands] (1997) [convertChars] and HTML Tags (1997) [protect admin] (1997) Nested tags count question (1997) Dreamweaver (2002) Sales Tax db (1998) listfiles-looking for slick solution (1997) Sort of a Dilema! (1998) F3 crashing server (1997) RE: automatic reload of frameset (1997) REVISED: Help needed: older WebCat app breaks under 4.0.1 (2000) OT: Controlling WebStar's HTTP headers (1999) ColdFusion (2006) Strange intermittent WebDNA problems (2008) WebCat2 Append problem (B14Macacgi) (1997) Banners (1997) my SOS last week... (1996) RE: OK, here goes... (1997)