Studio:Why is my script terminating unexpectedly?: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
There may be a data type mismatch. Verify that all data types in pragma statements in the script are spelled correctly. For more information on pragmas, refer to the STRIDE Online Help's SCL Pragmas section. Also make sure that error checking is enabled. Using Perl add the following at the beginning of your scripts:<br/>
If you are using Perl, be sure that the following statements appear at the beginning of your scripts:
use strict;<br/>
<source lang="perl">
Win32::OLE->Option(Warn => 3);<br/>
use strict;
Win32::OLE->Option(Warn => 3);
</source>




[[Category:Scripting]]
[[Category:Perl Info]]
[[Category:Troubleshooting]]
[[Category:Troubleshooting]]

Revision as of 16:25, 11 March 2008

If you are using Perl, be sure that the following statements appear at the beginning of your scripts:

use strict;
Win32::OLE->Option(Warn => 3);