Not logged inOpenClonk Forum
Up Topic Concerning the 2013-Environmental Pack

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Sven2
There is already a function called C4Id which does the failsafe lookup I believe. That would help some, but this code would still fail on execution:

var Frobnicator001 = CreateObject(C4Id("Frobnicator"));
Frobnicator001->SetFoo(true);

So I'd have to prefix each call with an if (Frobnicator001) which puts so much noise into the file.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill