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

From STRIDE Wiki
Jump to: navigation, search
m (Text replace - 'Category:Perl Info' to 'Category:Studio:Perl Info')
 
(3 intermediate revisions by the same user 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:Scripting]]
+
[[Category:Studio:Perl Info]]
[[Category:Troubleshooting]]
+
[[Category:Studio:Troubleshooting]]

Latest revision as of 17: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);