Advertisement
alphauser420

if else

Mar 12th, 2024
2
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Local $value = 8
  2.  
  3. If $value > 10 Then
  4. MsgBox(0, "Result", "$value is greater than 10.")
  5. Else
  6. MsgBox(0, "Result", "$value is not greater than 10.")
  7. EndIf
  8.  
  9. ; Explanation:
  10. ; This If-Else statement checks if $value is greater than 10.
  11. ; If true, it displays a message stating that $value is greater than 10; otherwise, it indicates that
  12. $value is not greater than 10.
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement