You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Summary

Suppose my linkable component uses init arguments to load a general scripting engine (or formula processor or something like that) which in turn needs to be initialised with arguments (e.g. to load a script from a given file). The second set of (valid) initialisation arguments is only known after the first initialization is done. Also this might be further nested, requiring some kind of iterative initialisation, like:

repeat
{
args = linkableComponent.getInitArgs();
... fill in the args ...
} until (linkableComponent.init(args) == INIT_COMPLETE);

How to address in Version 1

...

How to address in Version 2

...

  • No labels