i have a global bolean variable in one unit, to pass it as a reference to the constructor in another unit i do by:
Constructor Create(var myBol:Boolean);
But it will only exist in the constructor, and die when the constructor dies. How do i make this reference stay alive in the object as long as the instance exists?
I tried this (and it did not work)
(in the interface)
and then in the constructor:
but it does not work. What is the proper way to do this?