public static int search_var_by_name(Variable_table variable_table, String name) {
        int num = variable_table.variable_name.size();
        for (int i = 0; i < num; i++) {
            if (variable_table.variable_name.get(i).toString().equals(name)) {
                return i;
            }
        }
        return -1;
    }