2 scores.cc -- implement some globals
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
12 #include "paper-def.hh"
17 static Link_array<Score> global_score_array;
18 String default_outname_suffix_global = "";
19 String default_outname_base_global = "lelie";
20 int default_count_global;
26 for (int i=0; i < global_score_array.size(); i++)
28 // Score *&is_p = global_score_array[i];
29 Score* is_p = global_score_array[i];
31 is_p->header_p_ = new Header;
34 is_p->header_p_->lily_id_str_ = "Lily was here, " +
35 get_version_number_str();
36 if (is_p->errorlevel_i_)
38 is_p->warning (_("Score contains errors. Will not process it. "));
51 for (int i=0; i < global_score_array.size(); i++)
53 delete global_score_array[i];
55 global_score_array.clear();
61 global_score_array.push (s);