Not compiling [PROS]


#1

So, I was typing this statement in PROS (Using Atom):

if(joystickGetDigital(1, 8, JOY_UP) == 1 and joystickGetDigital(1, 7, JOY_UP) == 1) {
	autonomous();
}

Noticed the second time I typed


joystickGetDigital

, it was red instead of blue… should I have a reason to be worried?
I uploaded a picture in the attachments to show what I mean.
Colors?.png


#2

Okay, so apparently it’s not compiling like this… no idea why, am I just overlooking some syntax problem?


#3

Try replacing


and

with


&&


#4

Thanks for the help!