how can I includ the words k and warning int my index?

look...

if(pressure[index]>=699)
{
status[index]=ok;
}//end if
else
{
status[index]=warning;
}//end else

it doesnt recognise characters, but if I say

if(pressure[index]>=699)
{
status[index]=1;
}//end if
else
{
status[index]=2;
}//end else



it works great