#List allocated size ?

1 messages · Page 1 of 1 (latest)

primal carbon
#
  1. Use backticks (`) around code so that * and _ don't italicise your message and it's clearer
  2. The size of a list is just counting the elements inside. The only way to change it is to add/remove things.
  • unless you mean the index, in that case, set the list to itself and the indices will be reordered 1,2,3,4,....
ivory karma
#

Appricate the additional information 🙂

  • In in regards to the size counting, removing doesn't seem to change the size of variable list, but only if it's local or what ever the _ are called
primal carbon
#

it should, can I see the code thats doing this?

#

use backticks

```
example
``` example

ivory karma
#
        add "A", "B", "C" to { T::* }
        broadcast "%size of { T::* }%"

        remove { T::1 } from { T::* }
        broadcast "%size of { T::* }%"```
pure apex
#

Oh it's probably removing the letter A from each string

#

Double check that

ivory karma
#

ehm

#

my brain doesn't work in the morning

#

I reloaded the wrong file

#

it works

pure apex
#

Lol

primal carbon
#

i've been there too

ivory karma
#

damn

#

my bad

#

Thanks tho ❤️