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

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
m (Text replace - 'Category:Perl Info' to 'Category:Studio:Perl Info')
 
(4 intermediate revisions by 2 users not shown)
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:KB]]
[[Category:Studio:Perl Info]]
[[Category:Troubleshooting]]
[[Category:Studio:Troubleshooting]]

Latest revision as of 23:54, 20 August 2009

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);