GarageGames/Torque3D — pull request #829 by jamesu (2014-10-14 17:45:12+00:00)
Title: Add console function to link namespaces

Adds functionality for issue #828

Example usage:

==>function Apple::someFunction(%var){echo("Apple " @ %var);}
==>function Turnip::someFunction(%var){echo("Turnip " @ %var);}
==>Apple::someFunction("ERRR");
Apple ERRR
==>function Apple::doSomethingElse(%err) { echo("Doing something else " @ %err);}
==>Turnip::doSomethingELse(1);
(0): Unable to find function Turnip::doSomethingElse
==>linkNamespaces(Turnip, Apple);
1
==>Turnip::doSomethingELse(1);
Doing something else 1