If I'm understanding the docs correctly, this should print '0'.
 Instead, it prints 'Array index out of bounds!'

    newclass P1, "Foo"
    addattribute P1, "i"
    find_type I0, "Foo"
    new P2, I0
    classoffset I1, P2, "Foo"
    print I1
    print "\n"
    end

 Simon

Reply via email to