[8525, TyTN, MDA Vario II, JasJam ROM Development] PollPixx:
I got the following error after getting the template and following upper instructions:

Error Compiling weather template (error3)

Statement expected at line 1.

I already soft reset, but nothing changed.

this is the template

main

{

debug_log;

pointer dayStart

{

go_start;

skip_to_text("Meer opties en vergroten", false);

};

pointer dayEnd

{

skip_to_text("show-radar-big", true);

};

pointer weatherStart

{

skip_to_text("row_weathericons\">", false);

};

pointer weatherEnd

{

skip_to_text("Neersl. <span>", true);

};

map skyMap

{

key_value( "bd_x", "5");

key_value( "bdg1_x", "13");

key_value( "bdg2_x", "13");

key_value( "bdg3_x", "13");

key_value( "bdr1_x", "7");

key_value( "bdr2_x", "8");

key_value( "bdr3_x", "8");

key_value( "bds1_x", "7");

key_value( "bds2_x", "8");

key_value( "bds3_x", "8");

key_value( "bdsn1x", "10");

key_value( "bdsn2x", "11");

key_value( "bdsn3x", "11");

key_value( "bdsns1", "10");

key_value( "bdsns2", "11");

key_value( "bdsns3", "11");

key_value( "bw_x", "5");

key_value( "bwg1_x", "13");

key_value( "bwg2_x", "13");

key_value( "bwg3_x", "13");

key_value( "bwr1_x", "7");

key_value( "bwr2_x", "8");

key_value( "bwr3_x", "8");

key_value( "bws1_x", "7");

key_value( "bws2_x", "8");

key_value( "bws3_x", "8");

key_value( "bwsn1x", "10");

key_value( "bwsn2x", "11");

key_value( "bwsn3x", "11");

key_value( "bwsns1", "10");

key_value( "bwsns2", "11");

key_value( "bwsns3", "11");

key_value( "mb_x", "19");

key_value( "mbg1_x", "15"); //test

key_value( "mbg2_x", "15");//test

key_value( "mbg3_x", "15");//test

key_value( "mbr1_x", "21");

key_value( "mbr2_x", "22");

key_value( "mbr3_x", "22");

key_value( "mbs1_x", "21");

key_value( "mbs2_x", "22");

key_value( "mbs3_x", "22");

key_value( "mbsn1x", "24");

key_value( "mbsn2x", "25");

key_value( "mbsn3x", "25");

key_value( "mbsns1", "24");

key_value( "mbsns2", "24");

key_value( "mbsns3", "24");

key_value( "md_x", "20");

key_value( "mdg1_x", "13");

key_value( "mdg2_x", "13");

key_value( "mdg3_x", "13");

key_value( "mdr1_x", "21");

key_value( "mdr2_x", "22");

key_value( "mdr3_x", "22");

key_value( "mds1_x", "21");

key_value( "mds2_x", "22");

key_value( "mds3_x", "22");

key_value( "mdsn1x", "24");

key_value( "mdsn2x", "25");

key_value( "mdsn3x", "25");

key_value( "mdsns1", "24");

key_value( "mdsns2", "25");

key_value( "mdsns3", "25");

key_value( "mo_x", "17");

key_value( "mm_x", "18");

key_value( "ms_x", "2");

key_value( "mw_x", "20");

key_value( "mwg1_x", "27");

key_value( "mwg2_x", "27");

key_value( "mwg3_x", "27");

key_value( "mwr1_x", "21");

key_value( "mwr2_x", "22");

key_value( "mwr3_x", "22");

key_value( "mws1_x", "21");

key_value( "mws2_x", "22");

key_value( "mws3_x", "22");

key_value( "mwsn1x", "24");

key_value( "mwsn2x", "25");

key_value( "mwsn3x", "25");

key_value( "mwsns1", "24");

key_value( "mwsns2", "25");

key_value( "mwsns3", "25");

key_value( "nb_x", "6"); // mist

key_value( "nm_x", "18");

key_value( "ns_x", "6"); // mist

key_value( "so_x", "1");

key_value( "wb_x", "4");

key_value( "wbg1_x", "15");

key_value( "wbg2_x", "15");

key_value( "wbg3_x", "15");

key_value( "wbr1_x", "14");

key_value( "wbr2_x", "14");

key_value( "wbr3_x", "14");

key_value( "wbs1_x", "14");

key_value( "wbs2_x", "14");

key_value( "wbs3_x", "14");

key_value( "wbsn1x", "16");

key_value( "wbsn2x", "16");

key_value( "wbsn3x", "16");

key_value( "wbsns1", "16");

key_value( "wbsns2", "16");

key_value( "wbsns3", "16");

};

map windDirMap

{

key_value( "N", "N");

key_value( "NNO", "NNE");

key_value( "NO", "NE");

key_value( "ONO", "ENE");

key_value( "O", "E");

key_value( "OZO", "ESE");

key_value( "ZO", "SE");

key_value( "ZZO", "SSE");

key_value( "Z", "S");

key_value( "ZZW", "SSW");

key_value( "ZW", "SW");

key_value( "WZW", "WSW");

key_value( "W", "W");

key_value( "WNW", "WNW");

key_value( "NW", "NW");

key_value( "NNW", "NNW");

};

map windSpeedMap

{

key_value( "0", "0");

key_value( "1", "3");

key_value( "2", "8");

key_value( "3", "15");

key_value( "4", "25");

key_value( "5", "33");

key_value( "6", "45");

key_value( "7", "55");

key_value( "8", "70");

key_value( "9", "80");

key_value( "10", "95");

key_value( "11", "110");

key_value( "12", "120");

};

string wind_s_3_o;

string wind_r_3_o;

string wind_s_3_m;

string wind_r_3_m;

string wind_s_3_a;

string wind_r_3_a;

string wind_s_2_o;

string wind_r_2_o;

string wind_s_2_m;

string wind_r_2_m;

string wind_s_2_a;

string wind_r_2_a;

string wind_s_1_o;

string wind_r_1_o;

string wind_s_1_m;

string wind_r_1_m;

string wind_s_1_a;

string wind_r_1_a;

string windSpeedUnits = "kph";

string tmprUnits = "C";

open_url("http://www.weeronline.nl/Europa/Nederland/" + CityCode, "GET");

string hour = "";

string sky = "";

string dayOfWeek = "";

string dayOfMonth = "";

string dagindex = "";

string windDirection;

string windSpeed;

select_area(dayStart, dayEnd);

skip_to_text("TodayText\">", false);

skip_to_text(" ", false);

begin_var;

skip_to_chars(" ");

string day1 = end_var;

skip_to_text("TomorrowText\">", false);

skip_to_text(" ", false);

begin_var;

skip_to_chars(" ");

string day2 = end_var;

skip_to_text("Day3Text\">", false);

skip_to_text(" ", false);

begin_var;

skip_to_chars(" ");

string day3 = end_var;

skip_to_text("Day4Text\">", false);

skip_to_text(" ", false);

begin_var;

skip_to_chars(" ");

string day4 = end_var;

skip_to_text("Day5Text\">", false);

skip_to_text(" ", false);

begin_var;

skip_to_chars(" ");

string day5 = end_var;

select_area(weatherStart , weatherEnd);

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_o_1 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_m_1 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_a_1 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_o_2 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_m_2 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_a_2 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_o_3 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_m_3 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_a_3 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_o_4 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_m_4 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_a_4 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_o_5 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_m_5 = end_var;

skip_to_text("icons2/", false);

begin_var;

skip_to_chars(".");

string sky_a_5 = end_var;

skip_to_text("Min", false);

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_l_1 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_l_2 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_l_3 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_l_4 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_l_5 = end_var;

skip_to_text("Max", false);

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_h_1 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_h_2 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_h_3 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_h_4 = end_var;

skip_to_text("<td", false);

skip_to_text(">", false);

begin_var;

skip_to_chars("&");

string temp_h_5 = end_var;

skip_to_text("Wind", false);

skip_to_text("title=\"Windkracht ", false);

begin_var;

skip_to_chars(" ");

string wind1 = end_var;

skip_to_text("Bft, ", false);

begin_var;

skip_to_chars("\"");

string windr1 = end_var;

skip_to_text("title=\"Windkracht ", false);

begin_var;

skip_to_chars(" ");

string wind2 = end_var;

skip_to_text("Bft, ", false);

begin_var;

skip_to_chars("\"");

string windr2 = end_var;

skip_to_text("title=\"Windkracht ", false);

begin_var;

skip_to_chars(" ");

string wind3 = end_var;

skip_to_text("Bft, ", false);

begin_var;

skip_to_chars("\"");

string windr3 = end_var;

skip_to_text("title=\"Windkracht ", false);

begin_var;

skip_to_chars(" ");

string wind4 = end_var;

skip_to_text("Bft, ", false);

begin_var;

skip_to_chars("\"");

string windr4 = end_var;

skip_to_text("title=\"Windkracht ", false);

begin_var;

skip_to_chars(" ");

string wind5 = end_var;

skip_to_text("Bft, ", false);

begin_var;

skip_to_chars("\"");

string windr5 = end_var;

string tmprLo=temp_l_1;

string tmprHi=temp_h_1;

dayOfWeek = "";

dayOfMonth = day1;

hour = "09";

sky=skyMap[sky_o_1];

windSpeed=windSpeedMap[wind1];

windDirection=windDirMap[windr1];

add_day;

hour = "12";

sky=skyMap[sky_m_1];

add_day;

hour = "18";

sky=skyMap[sky_a_1];

add_day;

dayOfMonth = day2;

tmprLo=temp_l_2;

tmprHi=temp_h_2;

hour = "09";

sky=skyMap[sky_o_2];

windSpeed=windSpeedMap[wind2];

windDirection=windDirMap[windr2];

add_day;

hour = "12";

sky=skyMap[sky_m_2];

add_day;

hour = "18";

sky=skyMap[sky_a_2];

add_day;

dayOfMonth = day3;

tmprLo=temp_l_3;

tmprHi=temp_h_3;

hour = "09";

sky=skyMap[sky_o_3];

windSpeed=windSpeedMap[wind3];

windDirection=windDirMap[windr3];

add_day;

hour = "12";

sky=skyMap[sky_m_3];

add_day;

hour = "18";

sky=skyMap[sky_a_3];

add_day;

dayOfMonth = day4;

tmprLo=temp_l_4;

tmprHi=temp_h_4;

hour = "09";

sky=skyMap[sky_o_4];

windSpeed=windSpeedMap[wind4];

windDirection=windDirMap[windr4];

add_day;

hour = "12";

sky=skyMap[sky_m_4];

add_day;

hour = "18";

sky=skyMap[sky_a_4];

add_day;

dayOfMonth = day5;

tmprLo=temp_l_5;

tmprHi=temp_h_5;

hour = "09";

sky=skyMap[sky_o_5];

windSpeed=windSpeedMap[wind5];

windDirection=windDirMap[windr5];

add_day;

hour = "12";

sky=skyMap[sky_m_5];

add_day;

hour = "18";

sky=skyMap[sky_a_5];

add_day;

}

I added the citycode as stated on http://www.weeronline.nl/Europa/Nederland/Nijkerk/4057639

I used the code Nijkerk/4057639 (which should be the correct one)

Does anyone have an idea what goes wrong???

Cheers,

Arnold