New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add console function to link namespaces #829

Merged
merged 1 commit into from Oct 28, 2014

Conversation

Projects
None yet
3 participants
@jamesu
Contributor

jamesu commented Oct 14, 2014

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);
<input> (0): Unable to find function Turnip::doSomethingElse
==>linkNamespaces(Turnip, Apple);
1
==>Turnip::doSomethingELse(1);
Doing something else 1

@crabmusket crabmusket added this to the 3.7 milestone Oct 14, 2014

@JeffProgrammer

This comment has been minimized.

Show comment
Hide comment
@JeffProgrammer

JeffProgrammer Oct 15, 2014

Contributor

@jamesu Good idea! @eightyeight had to explain to me what it was useful for though as I didn't get it right away :P

Contributor

JeffProgrammer commented Oct 15, 2014

@jamesu Good idea! @eightyeight had to explain to me what it was useful for though as I didn't get it right away :P

crabmusket added a commit that referenced this pull request Oct 28, 2014

Merge pull request #829 from jamesu/namespace_link
Add console function to link namespaces

@crabmusket crabmusket merged commit b88d3fd into GarageGames:development Oct 28, 2014

1 check passed

default Merged build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment