to_upper (char -w dest[], int max_length, char src[])  
{
  for (i = 0; i < max_length; i ++)
  {
    chr_code = src[i]; 

    if ('a' < chr_code < 'z')
    {
      dest[i] = chr_code - 32;
    }
    else
    {
      if (chr_code == 0x00)
      {
        dest[i] = 0x00; break;
      }
      else
      {
        ;
      }
    }
  }
}
