To set a scriptable value for a property with the List
modifier, you must specify an array of values:
> ls
stringlist = a,string,list
> script prop('stringlist', ['a', 'b', 'c', 'd'])
> script prop('stringlist')
['a', 'b', 'c', 'd']
> ls
stringlist = a,b,c,d
To specify a single value for a List
property, specify the single value as an array of size one:
> ls
stringlist = a,string,list
> script prop('stringlist', ['a'])
> script prop('stringlist')
['a']
> ls
stringlist = a
To specify the empty value for a property with the Empty
or List
modifier, specify an empty array:
> ls
emptystringlist = a,string,list
> script prop('emptystringlist', [])
> script prop('emptystringlist')
[]
> ls
emptystringlist =