Re: Basic question



On Mon, 31 Oct 2005 11:09:02 -0000, Paul Morrison <pm42@xxxxxxxxxx> wrote:

Hi,

Having brain block at the moment, I want to check whether a string equals
"End", with the "s, but how do I put this into the code? What I have is the
following:


while(!stringequals("'/'End'/'"))

but it gives me an error. I thought you could use the escape character / to
allow " characters, but it just takes it as the start of a new string.


Cheers for your help,

Paul

It's a backslash, not a forward slash, and there shouldn't be any single quotes in there.


	while(!stringequals("\"End\""))

Dan.


-- Daniel Dyer http://www.dandyer.co.uk .