Forums / Setup & design / Assigning values to arrays??

Assigning values to arrays??

Author Message

Kjerand Pedersen

Sunday 20 July 2003 11:21:59 am

Is it possible to assign values to an array after it has been created?

For example like this (which doesn't work):

{let myarray=array()}
{set myarray[3]=5}
{/let}

If it's possible, how do I do it?

Kjerand Pedersen