PDA

View Full Version : empty array


fbitonti
07-11-2007, 08:39 PM
This is kind of a simple question but how can I empty an array in mel?

fbitonti
07-11-2007, 08:51 PM
oops found it

string $hats[] = {"blue", "red", "black"};
clear($hats);

trancor
07-11-2007, 11:09 PM
reasign it


string $hats[]={"purple","yellow","teal"};

This would change it.

CGTalk Moderation
07-11-2007, 11:09 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.