asking question..can i use this?

int led= 13; 
int blinkoff;

void setup ()
{pinMode(led;OUTPUT);}

void loop ()
{blinkoff= (digitalRead (led) == LOW);} // this line doesnt give me error in compiling.. BUT is this line //appropriate?

im trying to make blinkoff variable to led blink off
thanks in advance

{pinMode(led;OUTPUT);} // error - it should be {pinMode(led,OUTPUT);}

Yes the line is OK. The blinkoff will contain 16bit 0 or 1 depending on result of test: whether the digitalRead (led) == LOW.

thank you BUDVAR10