Immediate Execution with Plugins

Posted by Skarsnik on Sat 12 Apr 2003 04:11 AM — 3 posts, 13,309 views.

#0
Hiya,
The first line in my plugin contains "Option Explicit" which gets upset when I attempt to add the plugin.
The Option Explicit is valid vb script.


The error message was

Error number: -2146827264
Event: Execution of line 117 column 1
Description: Expected statement
Line in error:
Option Explicit
Called By: Immediate execution



Skars


Thanks in advance,
Skarsnik
Australia Forum Administrator #1
Have you included the default constants file? That has the option explicit in it as well, and the error is probably that you have another one, beyond executable code.
#2
Oh blah,
I didn't even think of that, I noticed the include file, but didn't put two and two together.
Its a good option putting it in there. I just hope people realise that they have to explicitly declair all their variables if they use that constants file :)...

Skars