SlimShady Posted May 7, 2004 Posted May 7, 2004 (edited) I have some questions I would like to have answered.What's the maximum filesize of a textfile that can be loaded?How many lines is the limit for a textfile that can be loaded?And how many characters per line is the limit?How many characters (as a string) can a variable have?I mean: how many characters (as a string) can you assign to a variable?Thank you very much.PS. There's no General or Questions forum, that's why I posted here. Edited May 7, 2004 by SlimShady
ezzetabi Posted May 7, 2004 Posted May 7, 2004 (edited) What's the maximum filesize of a textfile that can be loaded? A variable can be at most 2,147,483,647 characters How many lines is the limit for a textfile that can be loaded? Lines are just a special char (@lf ,@cr or @crlf) so it do not count diffently. Just every end of line count as a char (or 2 if you are using the DOS @crlf ) And how many characters per line is the limit? See above. How many characters (as a string) can a variable have? 2,147,483,647 I mean: how many characters (as a string) can you assign to a variable? 2,147,483,647 Btw, in the FAQ of the help file there is a question "What are the current technical limits of AutoIt v3?" that may answer you more. Edited May 7, 2004 by ezzetabi
SlimShady Posted September 26, 2004 Author Posted September 26, 2004 How many characters can fit in a MsgBox?
Administrators Jon Posted September 26, 2004 Administrators Posted September 26, 2004 How many characters can fit in a MsgBox? The MsgBox function is a simple wrapper for the API MessageBox function - the API docs don't indicate any limit... Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
this-is-me Posted September 26, 2004 Posted September 26, 2004 The limit reaches beyond what can actually fit on the screen. I tried. Who else would I be?
SlimShady Posted September 26, 2004 Author Posted September 26, 2004 Allright. Thanks, that's very helpful.
SlimShady Posted October 20, 2004 Author Posted October 20, 2004 Two things this time: 1. How many GUI dialogs can we create in one script? 2. How many GUI controls can we create in one script? (assume none will be deleted)
CyberSlug Posted October 20, 2004 Posted October 20, 2004 1. Might depend on system resources, but I got to 262 GUI windows in one script... 2. Approx 4094 controls. Highest index is 4096, and the lowest is currently 3. And it appears that each GUI can contain the max number of controls..... ;COUNT CONTROLS GuiCreate("CountMaxControls") Dim $i = 1 $firstID = GuiCtrlCreateButton("foo", 10, 10) While GuiCtrlCreateButton("foo", 10, 10, 100, 100) $i = $i + 1 ToolTip($i, 0, 0) Wend MsgBox(4096,"", $i - $firstID + 1) ; COUNT WINDOWS Dim $i = 0 While Not @error $i = $i + 1 ToolTip($i, 0, 0) GuiCreate("CountMaxControls") Wend MsgBox(4096,"", $i) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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