Pinmode not decared

I have an error saying "Pinmode" not declared in this scope.

Can someone tell me how it should be declared. I tried int, and array but error stays. Thanks

int nbts = 3;
int bts[3];
boolean btgs[3];
int startpin = 7;
//int pinmode[3];

void setup() {
 Serial.begin(9600);
for (int i = 0; i <nbts; i++) bts[i] = i + startpin;
for (int i = 0; i <nbts; i++) btgs[1] = false;
for (int i = 0; i <nbts; i++) pinmode(bts[i], INPUT);
}

Code from tuition video

//int pinmode[3];Commented-out

pinmode(bts[i], INPUT);pinMode

This won't get you far either:

for (int i = 0; i <nbts; i++) btgs[1] = false;

Pete

I have an error saying "Pinmode" not declared in this scope.

Also, you really need to learn to quote the exact error message given.

Many thanks all, works now.

Sorry if I did not give enough description of the error, seemed to be the main fault. What is the button used for below the sketchpad, it saves to allow pasting but it's a page full. Is there a way to copy just the error?

Thanks

Select the text you want to copy then press [CTRL] + (Windows & Linux).

Thanks outsider, I know that works in most instances but I did not think I was able to select the text area showing the error. I will try it, thanks

EDIT: You were correct, it was the mouse right click that does not work for me.