Thanks.
It says this:
"By convention, function names ending with an exclamation point (!)
modify their arguments. Some functions have both modifying (e.g., sort!)
and non-modifying (sort) versions."
But my experience is a little inconsistent. I noticed that is what it
does to array arguments, but to other arguments (like composite types)
it seems not necessary. Am I missing something?
Also, it is a special character. So perhaps it is better listed under
operators section in the documentation.
On 06/13/2014 09:58 AM, Jacob Quinn wrote:
It's mentioned here in the "Some general notes" section, but if you
have suggestions of other places it should be mentioned, I'm sure it
wouldn't hurt!
http://docs.julialang.org/en/latest/stdlib/base/#introduction
-Jacob
On Thu, Jun 12, 2014 at 9:53 PM, cnbiz850 <[email protected]
<mailto:[email protected]>> wrote:
Can't find a description. I guess that when it is used after a
function name it makes the modified array argument passed back to
the caller. Is that right, or is that all it is used for?