getrange() in Design Philosophy
getrange(n,d) if(!isnum(n)||!isnum(d))return var{h;l} if(n==d)return 0 if(n>d){h=n;l=d} if(d>n){h=d;l=n} return h-l
getrange(n,d)> if(!isnum(n)||!isnum(d))return> var{h;l}> if(n==d)return 0> if(n>d){h=n;l=d}> if(d>n){h=d;l=n}> return h-l When I look at that, it seems like something's wrong...but I can't tell what.
getrange(n,d)> if(!isnum(n)||!isnum(d))return> var{h;l}> if(n==d)return 0> if(n>d){h=n;l=d}> if(d>n){h=d;l=n}> return h-l
Uh are you tring to get the difference between the two numbers or something :P? If that is the case just do this
return abs(n-d)