IB gotcha...>


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Tom Fulton on May 27, 2010 at 08:49:35:

I just noticed this when troubleshooting a new Email server, testing to see if one of my existing programs works with PDF-Email printer. I didn't want Emails blasting out to all the vendors on my test, so I put my Email address on one vendor and only sent out if the address was me, code looked like this:

if strip(vemail$) eq 'tomf@gmail.com' then ......

this compiles without error, but it doesn't work when strip(vemail$) was tomf@gmail.com I came to the conclusion that the @ sign was the culprit, changed the comparison to

if sub(vemail$,1,4) eq 'tomf' and it worked fine. Is the @ sign being treated as a position even though it is within the quotes?



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]