unknown12 Posted March 23, 2005 Share Posted March 23, 2005 Hello, i am trying to make yet another application. For some reason this won't work and i don't know why. It dosn't only execute for the selected box, it executes it all nomatter what the selection. if $socket_a Then if $256k Then $clock = GuiCtrlRead($clockspeed) $rating = 1437*$clock GuiCtrlSetData($amdrating,$rating) EndIf EndIf if $socket_a Then if $512k Then $clock = GuiCtrlRead($clockspeed) $rating = 1454*$clock GuiCtrlSetData($amdrating,$rating) EndIf EndIf if $socket_a Then if $1mb Then msgbox(0,"AMDRating","There are no 1MB Cache Athlon XPs") EndIf EndIf Please help ASAP thanks Link to comment Share on other sites More sharing options...
SlimShady Posted March 23, 2005 Share Posted March 23, 2005 Here's another way. if $socket_a Then If $256k Then $clock = GuiCtrlRead($clockspeed) $rating = 1437*$clock GuiCtrlSetData($amdrating,$rating) ElseIf $512k Then $clock = GuiCtrlRead($clockspeed) $rating = 1454*$clock GuiCtrlSetData($amdrating,$rating) ElseIf $1mb Then msgbox(0,"AMDRating","There are no 1MB Cache Athlon XPs") EndIf EndIf 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