Action.BodyObject is not working

Hello

I wrote below on FB6 Script Editor.

str = Action.BodyObject (This Action is TEmailAction).

This script is running on FB6, but this is not running on FB7.

Please tell me this is bug or not?

If you are using VBScript you will need to use the Set keyword as the active scripting engine in FB7 is more fussy about the language than in FB6 :

e.g :

Set str = Action.BodyObject

The Set keyword is needed when assigning an object to a variable.

Thank you for reply.
I resolved.