Re: [Vala] Very basic question.. about strings and arrays...



You should do this:

  public void on_btn_search_what_clicked (Button source) {
    string [] argv = new string[3];
    argv[0] = app_path + "repST.beta";
    argv[1] = "-l";
    argv[2] = txt_search_what.text();

    execProgram(app_path,argv);
 }


or

var argv = new string[3];


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]