MGH_VAR_CLONE
Name
MGH_VAR_CLONE
Purpose
Given an IDL variable, this function generates and returns a copy. It is
therefore handy when passing a variable to a routine and wanting to protect it
from modification
Calling Sequence
result = mgh_var_clone(var)
POSITIONAL ARGUMENTS:
var (input, variable of any type):
Variable to be copied.
###########################################################################
Copyright (c) 2013 NIWA:
http://www.niwa.co.nz/
Licensed under the MIT open source license:
http://www.opensource.org/licenses/mit-license.php
###########################################################################
Modification History
Mark Hadfield, 2013-07:
Written.