Hello there this is my first attempt to write a vb component. I need to give GH this condition
46<=x<=135 if true then x=70, if false x=30. else x=0
How would you write this in .net
Thank you all
What's the difference between false and else?
Avoiding your else condition, it would be something like this:
If x >= 46 And x <= 135 Then
x = 70
Else
x = 30
End If
a = x