Shop OBEX P1 Docs P2 Docs Learn Events
Circular Object Reference — Parallax Forums

Circular Object Reference

Dave HeinDave Hein Posts: 6,347
edited 2010-03-22 19:53 in Propeller 1
I have a large object that I want to split into two objects.· The problem is that the two objects reference methods in each other.· If I use OBJ statements that reference each other I get an illegal circular reference error.· Is there a way to get around this other than duplicating methods in the two objects, or splitting them into three objects where the lowest object contains the common methods?

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-03-22 19:53
    Do whatever you have to to make it strictly hierarchical. Either splitting into three, or joining both into one would work.

    -Phil
Sign In or Register to comment.