Posted: 28 Jun 2010, 20:05
I have something i don't catch yet is how to handle stringList size.
usually I use 'Set capacity' on init of the script so that looks like
SL1.capacity := X;
or i pick commaText from an input.
but I notice to be able to set an item in the list, the list seems to first have a comma text. if i direct try ie:
SL1.strings[5] := 'blabla';
it returns me an error, , even if capacity is set above 5, whereas it will work if on init i defined a commatext, ie
SL1.commaText := 0,1,2,3,4,5,6,7,8; ect.. so that's quite boring if size change, or have to fill it...
Isn't there a simpler way? basically i want the script to catch a matrix size and be able to change some captions
relating the cliced index nb, but if i saved to a preset with a matrix where 5 cellz had caption set, the commain goes
back to script and i can change the 5 captions , but if iwanna set ie cell 8 wich as no caption i can't, even if i set
SL1.capacity to 8, cause the comma from matrix only goes to 5.
see what i mean, any mater as a tip?
usually I use 'Set capacity' on init of the script so that looks like
SL1.capacity := X;
or i pick commaText from an input.
but I notice to be able to set an item in the list, the list seems to first have a comma text. if i direct try ie:
SL1.strings[5] := 'blabla';
it returns me an error, , even if capacity is set above 5, whereas it will work if on init i defined a commatext, ie
SL1.commaText := 0,1,2,3,4,5,6,7,8; ect.. so that's quite boring if size change, or have to fill it...
Isn't there a simpler way? basically i want the script to catch a matrix size and be able to change some captions
relating the cliced index nb, but if i saved to a preset with a matrix where 5 cellz had caption set, the commain goes
back to script and i can change the 5 captions , but if iwanna set ie cell 8 wich as no caption i can't, even if i set
SL1.capacity to 8, cause the comma from matrix only goes to 5.
see what i mean, any mater as a tip?