Euphoria (programming Language) - Parameter Passing

Parameter Passing

Arguments to routines are always passed by value; there is no pass-by-reference facility. However, parameters are allowed to be modified locally (i.e. within the callee) which is implemented very efficiently as sequences have automatic copy-on-write semantics. In other words, when you pass a sequence to a routine, initially only a reference to it is passed, but at the point the routine modifies this sequence parameter the sequence is copied and the routine updates only a copy of the original.

Read more about this topic:  Euphoria (programming Language)

Famous quotes containing the word passing:

    It’s a particular Observation I have always made, That of all Mortals, a Critick is the silliest; for by inuring himself to examine all Things, whether they are of Consequence or not, he never looks upon any Thing but with a Design of passing Sentence upon it; by which Means, he is never a Companion, but always a Censor.
    Richard Steele (1672–1729)