dorit30 Posted February 13, 2008 Author Posted February 13, 2008 Just write the $strData to a file and attach that to a post so we can have a look at that .....Guys i very estimate the help its more what i thought i can get in forum 10nxOk i just Upload the $strData1.rar
Developers Jos Posted February 13, 2008 Developers Posted February 13, 2008 Guys i very estimate the help its more what i thought i can get in forum 10nx Ok i just Upload the $strDataYou need to get rid of the @lf or use that too in the stringsplit() something like this works: #include<array.au3> $strData=FileRead("1.txt") $days = StringSplit($strData, @CRLF,1) _ArrayDisplay($days) MsgBox(0, "Dayz are: ", $days[1]+$days[2]) 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.
dorit30 Posted February 13, 2008 Author Posted February 13, 2008 WOOOW its work sorry i cant stop myself but WOW i thought the all script is wrong and i need another way and i just FALL on @CRLF instead of @CR Jos 10nx 4 your patience (bedanken) Saundres solve it in the first But i was So stupid that i thought IT CAN BE so simple 10nx Edit: Although I bet I know what the problem is... in the initial post you're splitting by @CR but you probably need to split by @CRLF, because otherwise your math is like (5 + @LF10 + @LF15 + @LF20) which = 5. Perhaps try splitting by @LF instead, and then wrap with int.
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