Lotusscript Type Mismatch

I have a LotusScript agent that fails with a ‘Type Mismatch’ since upgrading to 6.02 from 5.0.11. Funny thing is, the agent works OK if I step thru it with the LotusScript debugger. Strange but true . . . Anyone else seen this rather weird behaviour?

Subject: Lotusscript Type Mismatch

What you’re possibly seeing here is a compilation issue. You can read more about this here:

http://www-10.lotus.com/ldd/today.nsf/0/a55740873b33ca2585256d4e005d2586

Subject: RE: Lotusscript Type Mismatch

Yes I have seen this error before in most of my print functions after the upgrade what I did is place a message to confirm printing where the code gave the type mismatch error and it worked

Subject: RE: Lotusscript Type Mismatch

Yes I have seen this error before in most of my print functions after the upgrade what I did is place a message to confirm printing where the code gave the type mismatch error and it worked

Subject: RE: Lotusscript Type Mismatch

Dalia, thanks for the input - I have managed a general workaround if you’re interested - see my other response.Regards

Simon

Subject: RE: Lotusscript Type Mismatch

Thanks Ben. I checked thru the article but recompiling everything still doesn’t solve the issue. I have found a workaround, though - if I issue an On Error Resume Next for the offending block of code, it executes correctly.