apsync Posted May 6, 2005 Share Posted May 6, 2005 is there a function like sizeof, i want to do Random(0,sizeof($anarray),0) Link to comment Share on other sites More sharing options...
herewasplato Posted May 6, 2005 Share Posted May 6, 2005 is there a function like sizeof, i want to do Random(0,sizeof($anarray),0)<{POST_SNAPBACK}>If you use condoman's suggestion of:$part1=StringSplit("first,second,third",",")from your last post then $part1[0] contains the number of strings returnedread more about this in the manual under StringSplitlater [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
CyberSlug Posted May 6, 2005 Share Posted May 6, 2005 You might try the UBound function. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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