Categories > TinyButStrong general >

Exclamation mark at the end of a string variable

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: olifants
Date: 2008-07-09
Time: 18:16

Exclamation mark at the end of a string variable

Hello!

I got an error that drives me crazy:

That gives 'no error':
$resultHint = 'Link is not ok!';

[var.resultHint;if [val]='';then 'no error']

BUT this gives the correct resultHint:
$resultHint = 'Link is not ok! test';

[var.resultHint;if [val]='';then 'no error']

What I'm doing wrong?

Greetings

Ronny
By: TomH
Date: 2008-07-09
Time: 18:40

Re: Exclamation mark at the end of a string variable

Try
[var.resultHint;if[val]='';then 'no error']
Note no space between if and [val]

Some other post where Skrol29 mentioned this I think

HTH,
TomH
By: olifants
Date: 2008-07-09
Time: 19:03

Re: Exclamation mark at the end of a string variable

jepp, thanks a lot for this lightning answer!