Re: die unless match is successful

2009-11-29 Thread Dermot
2009/11/29 raphael() : > Hi, > > I want the below if loop to end if it cannot find any match & print the die > message. > However it just exit without hitting my "die" > > As you can see in the code below I have tried many foolish ways to make the > script say > that it cannot find the number searc

Re: die unless match is successful

2009-11-29 Thread raphael()
On Sun, Nov 29, 2009 at 3:58 PM, John W. Krahn wrote: > raphael() wrote: > >> Hi, >> > > Hello, > > > I want the below if loop to end if it cannot find any match & print the >> die >> message. >> However it just exit without hitting my "die" >> >> As you can see in the code below I have tried ma

Re: die unless match is successful

2009-11-29 Thread John W. Krahn
raphael() wrote: Hi, Hello, I want the below if loop to end if it cannot find any match & print the die message. However it just exit without hitting my "die" As you can see in the code below I have tried many foolish ways to make the script say that it cannot find the number searched in whi

Re: die unless match is successful

2009-11-29 Thread Erez Schatz
2009/11/29 raphael() : > Hi, > > I want the below if loop to end if it cannot find any match & print the die > message. > However it just exit without hitting my "die" > Any Ideas? > Lots. First, give us some more information regarding which data you're comparing to what. In the code example you