Sign in to follow this  
Followers 0
muzle6074

Help me with if condition please!

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by MikeP

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

thanks for the prompt response guys! :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0