 |
yag Newbie
Joined: 26 Oct 2004 Posts: 2
|
Posted: Tue Oct 26, 2004 10:09 am
String comparison problem |
Hello,
I need help with the following problem:
Code: |
strTempLeader = Yaspen
strTeamLeader = Yaspen
#IF ( @strTempLeader = @strTeamLeader ) {#SH Yes} {#SH No}
|
And it always gives me No. Those variables are assigned by some triggers, they match exactly, but Zmud seems not to agree with that.
Any suggestions?
Thanks in advance |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Oct 26, 2004 11:24 am |
ok first a few key points CASE does matter
and the problem with yours... spaces matter too.
remove the spaces from both sides of the expression (same goes with your variable assignment)
#if (@strTempLeader=@strTeamLeader) {#SH yes} {#show No} |
|
|
 |
yag Newbie
Joined: 26 Oct 2004 Posts: 2
|
Posted: Tue Oct 26, 2004 3:53 pm |
re: nexela
Thank you, it works now :) |
|
|
 |
|
|