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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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