It is doing automatic casting for backward compatibility reasons, that's the way it was defined in versions 1.x and 2.x In this particular case you can change your script to the following (in order to avoid any ambiguities) Concat "a", wrk, wrk IsEqual wrk, "a:", success As you can see no matter what you get in the buffer, the value of wrk is always non numeric. : Good morning : I've again a problem with the automatic : casting of variables within a 24x7 script : Left (buffer, 1, wrk) : IsEqual wrk, ":", success : If (success, NOUVELLE_TABLE, WRITE_INFO) : As long as wrk contains a non numeric character there seem to be no problem : (wrk has been dimensioned as a string) but as soon as wrk contains a : numeric value, the following statement (IsEqual …) “hangs” the script. : Two questions : Why is the 24x7 script processor doing automatic casting : How can this correctly be avoided ? : Thanks for helping : Robbert
|