Not compiling [PROS]

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.

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

Try replacing


and

with


&&

Thanks for the help!