Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C comparison fuckery

Name: Anonymous 2011-01-17 14:21

if(220-s <= x <= 255 && (250 <= y || y <= 20) && 0 <= x <= 60)

Why the shit is it illegal? How about C#?

Name: Anonymous 2011-01-17 14:44

>>1
Because <= returns a boolean value and you cant use <= with a boolean and an integer?

(int <= int) <= int
V
bool <= int
V
type error

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List