}
+ // Process the PRIORITY value.
+
+ if (PriorityData > -1 && PriorityData < 10){
+
+ DataLine += "PRIORITY";
+
+ if (PriorityTokens.size() > 0){
+
+ DataLine += ";";
+ DataLine += PriorityTokens;
+
+ }
+
+ DataLine += ":";
+ DataLine += to_string(PriorityData);
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
*SaveData += "END:VEVENT\n";
}
\ No newline at end of file
"LOCATION;ALTREP=\"null:nodata\";LANGUAGE=kw;EXACT=NO:The Basement, Truro\n"
"ORGANIZER;CN=ExampleOrganiser;DIR=\"null:nodata\";SENT-BY=\"mailto:organiser.nor\n"
" eply@example.com\";LANGUAGE=kw;HAPPY=DAYS:mailto:organiser@example.com\n"
+ "PRIORITY;STATUS=DEFAULT:5\n"
"END:VEVENT\n"
"END:VCARD";