Lotuscript Problem - Help?

I have the following code that continually fails on this line:

Subject: Lotuscript Problem - Help ?

I haven’t run the code or anything but what is the value returned to text? Is it just a string or could it be a variant?

Also you set checktext = 0 ? Seems odd to me.

I personally would replace the evaluate with InStr( )

Subject: Lotuscript Problem - Help ?

You should make some changes to your code:

End If

checktext = Evaluate(|@Contains(“”, “Trace Complete”)|)->>>>this will return and variant array wit the 0 position equals to 0 i mean checktext(0)=0

Do Until checktext(0) = 1

text = Stream.ReadText()

checktext = Evaluate(|@Contains(“| & text & |”; “Trace Complete”)|) -->>> please notice that i have replaced your “,” by a “;” that is the correct one.

Sleep 1

Loop

Good luck