muzle6074 Posted May 8, 2008 Share Posted May 8, 2008 If $g is not 0 i want it to do the code but I get an error I tried if $g Not = 0 Then but that just didn't work either. if $g Not 0 Then FileWriteLine($log, @HOUR & ":" & @MIN & ":" & @SEC & " - Success rate: " & $g & "%") EndIf Any help appreciated! - muzle6074 Link to comment Share on other sites More sharing options...
MikeP Posted May 8, 2008 Share Posted May 8, 2008 (edited) If $g <> 0 Then .....oÝ÷ ØÓÇèº(槲ïj¸nW¬Â+aÒõ½©nzÂÓ~ ½©nz+Ø^¯Z+Ó*.q©ð®+^jëh×6If $g Then ... which means : If $g = 1 Then ... or : If $g = True Then .... If NOT $g Then ... which means : If $g = 0 Then ... or : If $g = False Then ... Edited May 8, 2008 by MikeP Link to comment Share on other sites More sharing options...
smashly Posted May 8, 2008 Share Posted May 8, 2008 Hi, If $g <> 0 Then FileWriteLine($log, @HOUR & ":" & @MIN & ":" & @SEC & " - Success rate: " & $g & "%") EndIfoÝ÷ ØêÚºÚ"µÍYÝ ÌÍÙÈH H[[UÜ]S[J ÌÍÛÙËÕT [È ][ÝÎ][ÝÈ [ÈRS [È ][ÝÎ][ÝÈ [ÈÑPÈ [È ][ÝÈHÝXØÙÜÈ]N ][ÝÈ [È ÌÍÙÈ [È ][ÝÉI][ÝÊB[Y Cheers Link to comment Share on other sites More sharing options...
muzle6074 Posted May 8, 2008 Author Share Posted May 8, 2008 thanks for the prompt response guys! 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