GodForsakenSoul Posted February 1, 2010 Share Posted February 1, 2010 Func FKanCheckScore() $kcsIR1=IniRead($gIniPath,$Ini2,"SCORE",0) $kcsSS=StringSplit($kcsIR1,"") ReDim $kcsSS[6] For $kcaL=1 To 5 If $kcsSS="" Then $kcsSS=0 EndIf Next Return $kcsSS EndFunc let's make this short and sweet. My problem here is that this lovely function doesn't 0-fy the blanks. There ARE blanks. suggestions? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 1, 2010 Developers Share Posted February 1, 2010 (edited) $kcsSS is an array so your test is wrong! Also rethink what you want to do after the If is true. Edited February 1, 2010 by Jos 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. Link to comment Share on other sites More sharing options...
GodForsakenSoul Posted February 1, 2010 Author Share Posted February 1, 2010 oh.... OH! amazing how much change can about 5 letters make... no? 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