Liste des Groupes | Revenir à co vms |
On Fri, 13 Jun 2025 22:31:37 -0400, Arne Vajhøj wrote:They should (Groovy uses null).if(acctrec.type.type == AcctRecType.ACR$K_IMGDEL) {Shouldn’t “stat” and “img” be initialized to something like “null” or
tim = acctrec.systime
for(pack in acctrec.packs) {
if(pack.type.type == AcctPackType.ACR$K_RESOURCE) {
stat = pack.status
}
if(pack.type.type == AcctPackType.ACR$K_IMAGENAME) {
img = pack.imagename
}
}
println("$tim : $img status=$stat")
“undef” (or whatever the Groovy equivalent is)? Unless you’re assuming
they’ll always be defined for that record type.
Les messages affichés proviennent d'usenet.