Print current 2DA
This commit is contained in:
parent
4e80eb6c0f
commit
2018c0ef83
12
source/app.d
12
source/app.d
@ -110,7 +110,19 @@ void main(string[] args)
|
|||||||
|
|
||||||
|
|
||||||
window.showAll();
|
window.showAll();
|
||||||
|
|
||||||
|
|
||||||
|
//prints the tree model
|
||||||
|
TreeIter it = new TreeIter();
|
||||||
|
store.getIterFirst(it);//TODO: fail if first is null
|
||||||
|
do{
|
||||||
|
for(int i=0 ; i<twoda.header.length ; i++){
|
||||||
|
write("\t",store.getValueString(it, i));
|
||||||
|
}
|
||||||
|
writeln();
|
||||||
|
}while(store.iterNext(it));
|
||||||
Main.run();
|
Main.run();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user