--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "GAMA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gama-platform/Pv6DJQ4VzLc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gama-platfor...@googlegroups.com.
file aliasmatrix <- csv_file('../includes/alias2191258Date.csv',';');
matrix<string> init_data <- matrix<string>(aliasmatrix);
loop i from: 1 to: init_data.rows-1 {
write " ";
loop j from: 0 to: init_data.columns-1 {
if (j = 4) {
list<string> vals <- init_data [j,i] split_with " ";
list<string> date <- vals[0] split_with "/";
list<string> time_strs <- vals[1] split_with ":";
write "year: " + date[2];
write "month: " + date[1];
write "day: " + date[0];
write "hour: " + time_strs[0];
write "minute: " + time_strs[1];
} else {
write "LCSV " + i +" "+ init_data [j,i] ;
}
}
}