SphereServer BugTracker - SphereServer
View Issue Details
0001607SphereServernew feature requestpublic13-05-09 14:3519-01-14 05:57
dzhony 
Ben 
normalfeaturehave not tried
resolvedfixed 
 
0.56c Nightly 
Not Available
None
None
0001607: LIST.xxx.SET
In the recent nightly (automated nightly build) I have noticed there was a basic LIST support. Nice work, List is one of the few things I had really missed in Sphere :)

But, the use of these lists is limited because (as far as I tested) there is no easy way of setting all list values at once. Storing the whole list as a single string works fine with <LIST.xxx>, but treating such string as a list again can not be done without parsing it manually and setting the single values to a list with LIST.xxx.ADD.

Would it be possible to add something like LIST.xxx.SET method, accepting list-formatted strings (e.g. {"a","b","c"})? Or maybe to alter the behavior of LIST.xxx, recognizing whether the argument is a single value or a list-formatted string?

With such method, it would be possible:
1) to work with lists in a more object-oriented way :)
2) to create multidimensional lists easily

Thank you for considering my request.
I would like to add some questions about functionality of lists I miss in the changelog:
- how many elements can a list store?
- how many characters at maximum can a string element have?
No tags attached.
Issue History
13-05-09 14:35dzhonyNew Issue
13-05-09 14:35dzhonyNightly Version => Not Available
13-05-09 14:35dzhonyExperimental Flags => None
13-05-09 14:35dzhonyOption Flags => None
19-01-14 05:57BenNote Added: 0001925
19-01-14 05:57BenStatusnew => resolved
19-01-14 05:57BenFixed in Version => 0.56c Nightly
19-01-14 05:57BenResolutionopen => fixed
19-01-14 05:57BenAssigned To => Ben

Notes
(0001925)
Ben   
19-01-14 05:57   
list.xxx.set and list.xxx.append being added