Re: [if] and [showif]
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45207
interpreted = N
texte = 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.comOn 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/-------------------------------------------------------------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:
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.comOn 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/-------------------------------------------------------------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/
Dan Strong
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:
Quit revisited (1997)
WC1.6 to WC2 date formatting (1997)
More questions about serial number dishing (1997)
RE: [WebDNA] Looking for Govinda (2011)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
2nd try: possible to weight results of grouped fields search? (1998)
webcat license???? (1997)
[listfiles] nested in a [loop] (1998)
dbQuickView 2.0 - something related (2005)
all records returned. (1997)
Re:trouble (1997)
Max Record length (1997)
RE: Contexts and Ampersands (1997)
[WebDNA] Populating a menu from a search (2016)
summ=T (2003)
SiteGuard Admin Feature ? (1997)
SSL Config for Webten on Mac (1998)
authenticating a second user (1997)
RE: Server Traffic Simulation (1998)
Email Formatting (2001)