// ArrayBox length問題の緊急調査
static box ArrayDebugTest {
    init { arr }
    
    main() {
        print("=== ArrayBox緊急デバッグ ===")
        
        // ArrayBox作成
        me.arr = new ArrayBox()
        print("作成直後のlength: " + me.arr.length().toString())
        
        // 要素追加
        me.arr.push("test1")
        print("push後のlength: " + me.arr.length().toString())
        
        me.arr.push("test2")
        print("2個目push後のlength: " + me.arr.length().toString())
        
        // 直接的なテスト
        local newArr
        newArr = new ArrayBox()
        newArr.push("direct")
        print("新しい配列のlength: " + newArr.length().toString())
        
        return "debug完了"
    }
}