I don't think assigning something to a variable will cause this, but it MIGHT be caused by one of the following:
1) As a side-effect of the function AddJavaScriptMessage().
2) As a side-effect of an error handler.
>Here is a funny one. I have a cursor named Temp and it disappears in the middle of nowhere. Here is the code:
>
>
> * If we check for the owner
> IF This.lOwner
> lnValue=EVALUATE(This.cOwner)
> IF lnValue<>gnMember
>addjavascriptmessage(IIF(USED('temp'),'oui8','non'))
> This.cHtml='Unexpected situation #2'
>addjavascriptmessage(IIF(USED('temp'),'oui9','non'))
> RETURN .F.
> ENDIF
> ENDIF
>
>
>The first message says Oui8. Which means, alias Temp exists. The next line is really simply. It only store a string in This.cHtml. But, on the next line, the messays says Non. What is going on in here?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)