Search the Community
Showing results for tags '#include'.
Found 4 results
So I have several functions spread out among different scripts (makes it easier to sort out); Each with some sort of #include, lets say for ex: #include<arrays.au3>. so if in the main script I bring all these scripts together by #including them, then do they over and over #include<array.au3> again and again, unnecessarily bulking the main script up?
Sorry for the stupid title but i don't know how to call it ( and how to search it ) I have three question based on the same subject FIRST If i have a script like: If _IsPressed("10") ConsoleWrite("OK")And i'll try to execute i have an error because i don't have add at the top: #include <Misc.au3> ; >>>>>>>>>>> THIS! If _IsPressed("10") Then ConsoleWrite("OK")It's possible to add automatically the required #include without write it manually? SECOND If i have a script like: #include <ProgressConstants.au3> ; unnecessary #include <ListViewConstants.au3> ; unnecessary #include <WindowsConstants.au3> ; unnecessary #include <GUIConstantsEx.au3> ; unnecessary #include <GUIConstants.au3> ; unnecessary #include <GuiListView.au3> ; unnecessary #include <Constants.au3> ; unnecessary #include <GuiEdit.au3> ; unnecessary #include <WinAPI.au3> ; unnecessary #include <Array.au3> ; unnecessary #include <Date.au3> ; unnecessary #include <File.au3> ; unnecessary #include <Misc.au3> ; I NEED THIS ONLY! If _IsPressed("10") Then ConsoleWrite("OK")It's possible to remove automatically the unecessary #include? THIRD Based on the script of the second question, if i have add to a script an unecessary #include but in the script i don't have "call" it, it's just one line of unecessary code or in the build i have all the include file? I have the last stable + scite full. Thanks for the help
... that is the question. Thanks to all the epic support, and my genius (ha) (Mostly support and Reading ) I have over 200 lines of so far.. Now i have about 10 functions, more coming.. Should i use include? and Run the functions from separate files? Is that the whole point of including? Is #include speeding up the program? Or is it all just to be Neat and Tidy? (Which i would prefer if it is not slowing down the Program)
I'm writing a tray based program, and for every different option the user selects, the icon changes... I add the #include"icon.ico" where icon.ico would be the icon name obviously... But when I compile the program with the offical autoit compiler it doesn't seem to include the icons... Any clue what I'm doing wrong?