}
+ // Process the COMMENT value.
+
+ if (CommentList.size() > 0){
+
+ for (int CommentListSeek = 0; CommentListSeek < CommentList.size();
+ CommentListSeek++){
+
+ DataLine += "COMMENT";
+
+ if (CommentListAltRep[CommentListSeek].size() > 0){
+
+ DataLine += ";ALTREP=\"";
+ DataLine += CommentListAltRep[CommentListSeek];
+ DataLine += "\"";
+
+ }
+
+ if (CommentListLanguage[CommentListSeek].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += CommentListLanguage[CommentListSeek];
+
+ }
+
+ if (CommentListTokens[CommentListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += CommentListTokens[CommentListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += CommentList[CommentListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
+
*SaveData += "END:VTODO\n";
}
\ No newline at end of file
"CATEGORIES;LANGUAGE=en:CATEGORY THREE, CATEGORY FOUR\n"
"CATEGORIES;LANGUAGE=en-GB;SAMPLE=TOKEN:CATEGORY FIVE, CATEGORY SIX, CATEGORY \n"
" SEVEN\n"
+ "COMMENT:This is the first comment.\n"
+ "COMMENT;ALTREP=\"null:nodata\";LANGUAGE=en:This is the second comment.\n"
+ "COMMENT;ZEBRAS=YES:This is the third comment.\n"
"END:VTODO\n"
"END:VCALENDAR";