public int get_END_IF(int INDEX, String code)
    {
        log.log(4, log_key, "call   get_END_IF, INDEX = ", new Integer(INDEX).toString(), "\n");
        for(;;INDEX++) {
            if  ( (code.charAt(INDEX)     == 'E') &&
                  (code.charAt(INDEX + 1) == 'N') &&
                  (code.charAt(INDEX + 2) == 'D') &&
                  (code.charAt(INDEX + 3) == '_') &&
                  (code.charAt(INDEX + 4) == 'I') &&
                  (code.charAt(INDEX + 5) == 'F') )
            {
                log.log(4, log_key, "return get_END_IF, INDEX = ", new Integer(INDEX).toString(), "\n");
                return INDEX;
            }
            else if ( (code.charAt(INDEX)     == 'I') &&
                      (code.charAt(INDEX + 1) == 'F') )
            {
                log.log(4, log_key, "recursive call get_END_IF, INDEX = ", new Integer(INDEX).toString(), "\n");
                INDEX = get_END_IF(INDEX, code) + 5;
                continue;
            }
        }
    }