// DEPENDENCE: arrayoftables001.toml
// DEPENDENCE: arrayoftables002.toml
// EXEC: cjc %import-path %L %l %f
// EXEC: ./main
import toml4cj.decoders.*
import std.posix.*
main() {
var path2: String = getcwd()
var arr: Array<String> = [
"${path2}/arrayoftables001.toml" ,
"${path2}/arrayoftables002.toml"
]
let decoder: Decoder = Decoder()
try {
for(i in 0..arr.size) {
decoder.load(arr[i])
}
}catch (e: Exception) {
return 1
}
return 0
}