t0ddie Posted December 7, 2004 Share Posted December 7, 2004 (edited) im going through a "for next" loop 5 times and every time i loop, the variable $die is a different value. i want to know a way to save the variable $die into an integer. $1 = $die $2 = $die so that $1 = result from first loop $2 = result from second loop yadda yadda... i dont know if im totally clear. i just want a way to save the results from each loop into a seperate variable, an integer would be prefered naturally. thanks Edited December 7, 2004 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
CyberSlug Posted December 7, 2004 Share Posted December 7, 2004 Maybe use an array? Dim $array[6] For $i = 1 to 5 ;.... $array[$i] = $die ;..... Next 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...
t0ddie Posted December 7, 2004 Author Share Posted December 7, 2004 oh yeah...... lol im sick, i must have sneezed out the braincell that remembered that. Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
normeus Posted December 7, 2004 Share Posted December 7, 2004 HOW ABOUT THIS "CyberSlug" BEAT ME by typing code and all I was doing was creating a pointer to CyberSlug's code!!!anyway link to a discution on arrays (by Larry,CyberSlug,Valik,etc...)#45086 http://www.autoitscript.com/autoit3/scite/...iTe4AutoIt3.exe Link to comment Share on other sites More sharing options...
this-is-me Posted December 7, 2004 Share Posted December 7, 2004 Been sneezing a lot lately? Who else would I be? 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