Code:if (inrange(X,-10,10)) { or if (X > -10 & X < 10) {
i was just wondering for no paticulare reason if there happen to be a function for the e2 that would let you say something to the effect of
as in having it return true if X is within (lets say 10) higher or lower of ACode:if (X == A +/- B)
i know you could propperly set a range and have it check against that somehow but it's been far too long since i've used anything like that
<(^^<) /\(^^)/\ (>^^)> <(^^)>
Code:if (inrange(X,-10,10)) { or if (X > -10 & X < 10) {
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
if (inrange(X, A-B, A+B))
if (abs(X-A)<B)
Last edited by Azrael; 03-19-2010 at 04:51 AM. Reason: FUCKING SMILIES
Read the wiki.
cheers all should be very useful in the future
*tosses cookies for all*
<(^^<) /\(^^)/\ (>^^)> <(^^)>
Bookmarks