ta.QueryUtil を使用
var 出力: 文字列 = ""
var personIDs = new String[] {"98", "5"}
output += "***** 連絡先ごとに銀行口座を数える \n"
for (personIDs の personID)
{ var person = QueryUtil.findPerson(personID)
if (人 != null) {
output += person.DisplayName + " has " + person.BankAccounts.length + " bank accounts. \n"
} そうしないと {
output += "person not found for " + personID + "\n"
}
}