How can I lazy load with ASOC

Hi there

Is there a possibility to lazy init a property? E.g. load another object?

Untested (not at home) but this might work:


Property test: _test

On test ()
If _test is not missing value then return _test
-- do stuff to initiate test
End

Ah. No.

I got it:


Property _test: missing value

on test ()
If _test ist not missing value then return _test
-- do stuff 
Return _test
End