DayaAricent Posted July 28, 2009 Posted July 28, 2009 How to get the array length?array size?maximum number of elements in a array? I LOVE MY PROFESSION[color="#008000"][/color][i][/i][size="5"][/size][font="Times New Roman"][/font]
Moderators Melba23 Posted July 28, 2009 Moderators Posted July 28, 2009 DayaAricent,First, welcome to the AutoIt forums.Reading the Help file (at least the first few sections - Using AutoIt, Tutorials and the first couple of References) will help you enormously. You should also look at the excellent tutorials that you will find here and here.Using the Search facility is also a good tip as there is a pretty good chance your question, or something like it, has been asked before. Look for the "Search" button to the right in the title bar.------To answer your question, look for UBound in the Help file - using the Dimension parameter will get additional information. But remember that AutoIt arrays start at element [0], so the highest element is [Ubound($array) - 1]. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
DYONISII Posted July 28, 2009 Posted July 28, 2009 use ubound() for array size. Maximum length of a single script line: 4,095 Maximum string length: 2,147,483,647 characters Number range (floating point): 1.7E–308 to 1.7E+308 with 15-digit precision Number range (integers): 64-bit signed integer Hexadecimal numbers: 32-bit signed integer (0x80000000 to 0x7FFFFFFF) Arrays: A maximum of 64 dimensions and/or a total of 16 million elements Maximum depth of recursive function calls: 5100 levels Maximum number of variables in use at one time: No limit Maximum number of user defined functions: No limit Maximum number of GUI windows: No limit Maximum number of GUI controls: 65532 source: http://www.autoitscript.com/autoit3/docs/faq.htm#15 http://dev.dyonisii.com/
BrettF Posted July 28, 2009 Posted July 28, 2009 Its AutoIt with a u, not AOTOIT. >_< Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
trancexx Posted July 28, 2009 Posted July 28, 2009 Its AutoIt with a u, not AOTOIT. >_<Its AutoIt, not AutoIt with a u. ♡♡♡ . eMyvnE
Mobius Posted July 28, 2009 Posted July 28, 2009 @OPYou have 2 posts to date, both are identical and the first one was already answered..... Not having the best of starts are you DayaAricent?! >_< other post:http://www.autoitscript.com/forum/index.php?showtopic=99052As for spelling AutoIt wrong, jeez dude its at the top of the friggin page.
Developers Jos Posted July 28, 2009 Developers Posted July 28, 2009 Topics merged. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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