Code:if(Distance==0){DistanceOut=200} else{DistanceOut=Distance}
I think that that's what your asking for.
Greetings, I'm wondering, I have a chip that I've got an input of Distance, but if nothing is inputted it should have a default number,
now how do I make it so this line:
Distance=200 would change if the input have something else in mind?
Other question: the knot example in the expression2 documentation does not work, and I can't figure out what's wrong, and why I can't use km/h instead
Help?
Thanks <3
Code:if(Distance==0){DistanceOut=200} else{DistanceOut=Distance}
I think that that's what your asking for.
Thanks, worked like a charm Tibbles
Bookmarks