Skip to content
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

Copying Semantics #4

Open
shakna-israel opened this issue Aug 7, 2018 · 0 comments
Open

Copying Semantics #4

shakna-israel opened this issue Aug 7, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@shakna-israel
Copy link
Owner

Usually when calling a subroutine, the parameters are passed along as pointers. Modifying them, modifies them in the main program.

To use copying symantics, you parenthesize the variable.

call x(a,(b), c)

I don't really love this syntax. Could mex offer an alternative?

@shakna-israel shakna-israel added the enhancement New feature or request label Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant