Go to: Synopsis. Return value. MEL examples.
clear
array
clear is undoable, NOT queryable, and NOT editable.
Frees the memory being used by an array after it is no longer needed.None
$list=`ls -shapes`; // Result: nurbConeShape1 nurbCylinderShape1 nurbSphereShape1 // print (`size $list`+"\n"); // 3 clear $list; // Result: 0 // print (`size $list`+"\n"); // 0