Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Immediate Execution with Plugins

Immediate Execution with Plugins

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Skarsnik   (11 posts)  Bio
Date Sat 12 Apr 2003 04:11 AM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 12 Apr 2003 07:11 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Skarsnik   (11 posts)  Bio
Date Reply #2 on Sat 12 Apr 2003 07:23 AM (UTC)
Message
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
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,731 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.