define output as int variable

Here is the issue:
Not possible with digitalWrite(_ABVAR_1_pin13 , HIGH);

OK with analogWrite(_ABVAR_1_pin13 , HIGH);

Nevertheless, i do not undertand why !! According th the specifications, it should work using digitalwrite instruction !