+frigschneck Posted February 26, 2008 Share Posted February 26, 2008 When I try to compare two string variables var1 and var2, the builder changes the second variable to a constant string "var2", i.e. instead of if var1 == var2 then I get if Wherigo.NoCaseEquals(var1,"var2") then Each time I change it in the source, it is changed back by the builder. As there is an implicit save before compiling, I see no chance to get what I want. Any ideas or comments? Quote Link to comment
Ranger Fox Posted February 26, 2008 Share Posted February 26, 2008 Perhaps the following? if Wherigo.NoCaseEquals(var1,var2) then Quote Link to comment
+frigschneck Posted February 26, 2008 Author Share Posted February 26, 2008 Perhaps the following? if Wherigo.NoCaseEquals(var1,var2) then Yes, I guess that's what it should be - however, and that's the bug I am reporting, if you construct this if-statement in the builder, selecting for both sides "variables", then the builder generates code where the rhs is converted to a constant string. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.