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')
 
(5 intermediate revisions by 3 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:
If you are using Perl, be sure that the following statements appear at the beginning of your scripts:
<source lang="perl">
use strict;
use strict;
Win32::OLE->Option(Warn => 3);
Win32::OLE->Option(Warn => 3);
</source>


[[Category:KB]]
 
[[Category:Troubleshooting]]
[[Category:Studio:Perl Info]]
[[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);