TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
A fundamental question about ORing two comparisons
Pages:
1
A fundamental question about ORing two comparisons
aeklad
Posts: 43
November 13, 2016, 07:41:18 pm
To check if a variable is <=0 or >=0
Isn't that just saying "always". It seems like once you OR those comparisons you are accounting for every possibility.
Here's a snippet of the code from the Health Manager Behavior that has me wondering.
LIBERADO
Posts: 2720
November 13, 2016, 08:05:27 pm
Quote from: aeklad on November 13, 2016, 07:41:18 pm
Isn't that just saying "always"
Yes.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
Pages:
1