A by statement in an If statement
5 posts • Page 1 of 1
A by statement in an If statement
Is there a by statement or something? Like
Is there something like that, I mean like a code that can tell me by ten within the if statement
- Code: Select all
{scene.my.var >= scene.my.var1 (by 10)} ? {then} : {else}
Is there something like that, I mean like a code that can tell me by ten within the if statement
-
niffirg1 - Posts: 376
- Joined: Mon Aug 31, 2009 10:31 pm
- Location: The Great American South!
Re: A by statement in an If statement
Don't think so, you will just have to use a incusive range.
{(y <= (scene.my.my1 + 10)) && (y >= (scene.my.my1 - 10)}
Is this what your asking?
{(y <= (scene.my.my1 + 10)) && (y >= (scene.my.my1 - 10)}
Is this what your asking?
-
Versieon - Posts: 375
- Joined: Tue Sep 01, 2009 4:45 pm
Re: A by statement in an If statement
Sort of.... But not really. But thanks though
-
niffirg1 - Posts: 376
- Joined: Mon Aug 31, 2009 10:31 pm
- Location: The Great American South!
Re: A by statement in an If statement
What language are you getting this "by" statement from? If I knew what language you were trying to base this off of then I could help you a bit more.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
Re: A by statement in an If statement
Nevermind. I dont need it any more
-
niffirg1 - Posts: 376
- Joined: Mon Aug 31, 2009 10:31 pm
- Location: The Great American South!
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests