au3scr Posted June 2, 2008 Share Posted June 2, 2008 HiI have problem when I Add #include "Download.au3" at beginning of file "install.au3" I will get errors, But if i comment it out then "install.au3" runs without any errors, can anyone say me whats wrong my script?Here you see what happens if i have #include "Download.au3" without commented out.Z:\My Documents\install2\Lib.au3(8,17) : WARNING: $title: possibly used before declaration. WinMove($title, ~~~~~~~~~~~~~~^Z:\My Documents\install2\Lib.au3(11,40) : WARNING: $output: possibly used before declaration. Local $oldoutput = GUICtrlRead($output) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(14,27) : WARNING: $MenuItem1: possibly used before declaration. GUICtrlSetData($MenuItem1, ~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(15,28) : WARNING: $MenuItem11: possibly used before declaration. GUICtrlSetData($MenuItem11, ~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(16,28) : WARNING: $MenuItem12: possibly used before declaration. GUICtrlSetData($MenuItem12, ~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(17,28) : WARNING: $MenuItem13: possibly used before declaration. GUICtrlSetData($MenuItem13, ~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(18,28) : WARNING: $MenuItem14: possibly used before declaration. GUICtrlSetData($MenuItem14, ~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(19,27) : WARNING: $MenuItem2: possibly used before declaration. GUICtrlSetData($MenuItem2, ~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(20,28) : WARNING: $MenuItem21: possibly used before declaration. GUICtrlSetData($MenuItem21, ~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Lng.au3(21,28) : WARNING: $MenuItem22: possibly used before declaration. GUICtrlSetData($MenuItem22, ~~~~~~~~~~~~~~~~~~~~~~~~~~^Z:\My Documents\install2\Download.au3(2,10) : ERROR: can't open include file <"file.au3>#include <"file.au3>~~~~~~~~~^Z:\My Documents\install2\install.au3 - 1 error(s), 10 warning(s)here you can download all in zip fileinstall2.zip Link to comment Share on other sites More sharing options...
Malkey Posted June 2, 2008 Share Posted June 2, 2008 HiI have problem when I Add #include "Download.au3" at beginning of file "install.au3" I will get errors, But if i comment it out then "install.au3" runs without any errors, can anyone say me whats wrong my script?Here you see what happens if i have #include "Download.au3" without commented out.here you can download all in zip fileFirst step, I would start by fixing the error Z:\My Documents\install2\Download.au3(2,10) : ERROR: can't open include file <"file.au3>#include <"file.au3>~~~~~~~~~^Z:\My Documents\install2\install.au3 - 1 error(s), 10 warning(s)Change #Include <"file.au3>to #Include <file.au3>Then see what happens. Link to comment Share on other sites More sharing options...
Innovative Posted June 3, 2008 Share Posted June 3, 2008 Ignore warnings, they are just WARNINGS. Not errors. Link to comment Share on other sites More sharing options...
therks Posted June 3, 2008 Share Posted June 3, 2008 Just because they are warnings does not mean they should all be ignored. If you are warned not to step into traffic, would it be good to ignore that? The choice is yours of course but don't start crying when you get hit by a car. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now