PDA

View Full Version : empty array


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

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

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

trancor
07-12-2007, 12:09 AM
reasign it


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

This would change it.

CGTalk Moderation
07-12-2007, 12:09 AM
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.