Re: Am I being really stupid?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53169
interpreted = N
texte = Thanks for the response. I had output to screen and actually tried copying the source as is into my search "No match for". There are no strange characters or spaces etc but is still won't seem to find it. It's a bit of a mystery, here's an extract of the [DomainDetails] variable. ------------------------------------------------------------------------ Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. No match for "SOMESTRANGENAME.COM". >>> Last update of whois database: Sun, 28 Sep 2003 18:05:54 EDT <<< ------------------------------------------------------------------------ ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com ======================================== > From: "Andrew Simpson" > Reply-To: (WebDNA Talk) > Date: Mon, 29 Sep 2003 23:33:07 +1200 > To: (WebDNA Talk) > Subject: Re: Am I being really stupid? > > well, i personally have never used a "^" in an if statement but according to > the docs you are doing it perfectly so thats probably not the problem... if > it is going straight to the else then [DomainDetails] must not contain "No > match for"... > > output [DomainDetails] to the screen and see what it contains... remembering > that ^ is an exact substring search so something like "there is no match in > the database for" will not trigger the then... > > hth. > > ----- Original Message ----- > From: "Steve Craig" > To: "WebDNA Talk" > Sent: Monday, September 29, 2003 11:27 PM > Subject: Am I being really stupid? > > >> Hi >> >> I am trying to use an if then statement to do something and it's not >> behaving as I expected, it's probably me. >> >> Having done a whois lookup and stored the results in [DomainDetails] I am >> trying to test for the words "No match for" so I am using >> >> [if "[DomainDetails]" ^ "No match for"] >> [then]...[/then] >> [else]...[/else] >> [/if] >> >> It always just goes straight to the [else] even though I know the words > are >> there. Am I constructing the statement wrongly? >> >> Thanks for any help >> ======================================== >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1224 642960 Fax +44 1224 642962 >> ======================================== >> http://www.asylumweb.com >> Email: steve@asylumweb.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://webdna.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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Am I being really stupid? ( Steve Craig 2003)
  2. Re: Am I being really stupid? ( Joe D'Andrea 2003)
  3. Re: Am I being really stupid? ( "Andrew Simpson" 2003)
  4. Re: Am I being really stupid? ( Steve Craig 2003)
  5. Re: Am I being really stupid? ( "Andrew Simpson" 2003)
  6. Am I being really stupid? ( Steve Craig 2003)
Thanks for the response. I had output to screen and actually tried copying the source as is into my search "No match for". There are no strange characters or spaces etc but is still won't seem to find it. It's a bit of a mystery, here's an extract of the [DomainDetails] variable. ------------------------------------------------------------------------ Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. No match for "SOMESTRANGENAME.COM". >>> Last update of whois database: Sun, 28 Sep 2003 18:05:54 EDT <<< ------------------------------------------------------------------------ ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com ======================================== > From: "Andrew Simpson" > Reply-To: (WebDNA Talk) > Date: Mon, 29 Sep 2003 23:33:07 +1200 > To: (WebDNA Talk) > Subject: Re: Am I being really stupid? > > well, i personally have never used a "^" in an if statement but according to > the docs you are doing it perfectly so thats probably not the problem... if > it is going straight to the else then [DomainDetails] must not contain "No > match for"... > > output [DomainDetails] to the screen and see what it contains... remembering > that ^ is an exact substring search so something like "there is no match in > the database for" will not trigger the then... > > hth. > > ----- Original Message ----- > From: "Steve Craig" > To: "WebDNA Talk" > Sent: Monday, September 29, 2003 11:27 PM > Subject: Am I being really stupid? > > >> Hi >> >> I am trying to use an if then statement to do something and it's not >> behaving as I expected, it's probably me. >> >> Having done a whois lookup and stored the results in [DomainDetails] I am >> trying to test for the words "No match for" so I am using >> >> [if "[DomainDetails]" ^ "No match for"] >> [then]...[/then] >> [else]...[/else] >> [/if] >> >> It always just goes straight to the [else] even though I know the words > are >> there. Am I constructing the statement wrongly? >> >> Thanks for any help >> ======================================== >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1224 642960 Fax +44 1224 642962 >> ======================================== >> http://www.asylumweb.com >> Email: steve@asylumweb.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://webdna.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://webdna.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://webdna.smithmicro.com/ Steve Craig

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:

carriage returns in data (1997) [WebDNA] WebDNA7 site randomly dropping tags (2011) WebCat2b12--[searchstring] bug (1997) WebCatalog/WebDNA Hosting? (2006) Search results templates (1996) math a various prices (1997) Weird cart problem (webcat 2.x) (2000) Renumbering Database Records (1999) The List is Changing (1997) Multiple fields on 1 input (1997) [accountNum] and [math] (1997) Linux ODBC and the ODBC Bridge (2000) Your Pay XML / LinkPoint (2005) Setting up shop (1997) mac os HOG? (2001) [WebDNA] error on mirror site (2015) taxTotal confusion (1998) [WebDNA] XP Pro, WebDNA Dev & Quicktime Installer 7.6.6 - Problems (2010) SMSI FTP - calander system (2002) Nested tags count question (1997)