roby Posted December 6, 2007 Share Posted December 6, 2007 Hi, Maximum length of a single script line is 4.095... Well, if I include a script in other the number of lines must be added or not? Thank you Regards Roby Link to comment Share on other sites More sharing options...
herewasplato Posted December 6, 2007 Share Posted December 6, 2007 (edited) ...Maximum length of a single script line is 4.095...Yes, "includes" add to the number of lines in a script - however, the spec limit that you quoted refers to the max number of characters for one single line of an AutoIt script. Many scripts have more than 4095 lines of code. Edited December 6, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 6, 2007 Share Posted December 6, 2007 Many scripts have more than 4095 lines of code....or at least, they used to before I learned about arrays, For/Next loops, and structured programming. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
weaponx Posted December 6, 2007 Share Posted December 6, 2007 ...or at least, they used to before I learned about arrays, For/Next loops, and structured programming. Twas a sad day for my intern whom I immediately axed, for their code dictation skills were no longer necessary nor cost effective.Okay i've never had an intern...doesn't mean I haven't axed one... Link to comment Share on other sites More sharing options...
herewasplato Posted December 8, 2007 Share Posted December 8, 2007 ...or at least, they used to before I learned about arrays, For/Next loops, and structured programming. Are you sure?If you have ever used...#include <GuiListView.au3>...it adds at least 5937 lines and I'm not counting these:#include <ListViewConstants.au3>#include <Array.au3>#include <Misc.au3>#include <Memory.au3>#include <WinAPI.au3>#include <StructureConstants.au3>#include <ImageListConstants.au3>that are included within GuiListView.au3......which have includes......which have includes......which have includes.............or am I not understanding "includes" properly?Don't all of the lines go into your script even if you do not need/use them?Is the OP asking about "includes" as they impact the misunderstood limit? [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 8, 2007 Share Posted December 8, 2007 Are you sure?If you have ever used...#include <GuiListView.au3>...it adds at least 5937 lines and I'm not counting these:#include <ListViewConstants.au3>#include <Array.au3>#include <Misc.au3>#include <Memory.au3>#include <WinAPI.au3>#include <StructureConstants.au3>#include <ImageListConstants.au3>that are included within GuiListView.au3......which have includes......which have includes......which have includes.............or am I not understanding "includes" properly?Don't all of the lines go into your script even if you do not need/use them?Is the OP asking about "includes" as they impact the misunderstood limit?No doubt that generates some serious lines, but it gets byte-encoded and compressed, so I don't think the impact on the final size of the .exe is that much.As for the OP, I think he just misunderstood the limit, which has nothing to do with line count, as you already pointed out. Already off track, I think he was under the impression that lines in included files counted "against" him. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
weaponx Posted December 8, 2007 Share Posted December 8, 2007 (edited) The answer to all of lifes questions, 42:http://en.wikipedia.org/wiki/Answer_to_Lif..._and_Everything Edited December 8, 2007 by weaponx Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 8, 2007 Share Posted December 8, 2007 The answer to all of lifes questions, 42:http://en.wikipedia.org/wiki/Answer_to_Lif..._and_Everything...but answers are easy. The hard part is figuring out what the question was! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
herewasplato Posted December 8, 2007 Share Posted December 8, 2007 If you accept "I don't know" as an answer - then I know all of the answers. ...at least I think I do, I forget. [size="1"][font="Arial"].[u].[/u][/font][/size] 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