Jsoftware
High-Performance Development Platform

WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Treatment of a verb's arguments

Treatment of a verb's arguments

by Graham Parkhouse :: Rate this Message:

| View in Thread

Does a verb in J automatically make a local copy of its arguments?

I have a very large array which I would like to pass as an argument, but
maybe I shouldn't if that would cause duplication of the array. The array is
not going to be amended by the function, so in principle a copy is not
necessary.

Thanks in anticipation.

Graham

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

 « Return to Thread: Treatment of a verb's arguments