One more question:

Ok, this one might seem rather basic, but how are arrays written into 
tiddler fields in TW?

I've seen a lot of code with the $tw.pushTop(array, newItem), which I 
gather adds newItem to the beginning of array. But does that command itself 
change the value stored in array, or does it need to be

array = $tw.pushTop(array, newItem);

And once that push has been executed, how do you use the array in the 
addTiddler command to rewrite a list field?

>From my middle school days as a QBasic tinkerer, I'm more comfortable with 
strings, so I have been doing these list operations with string 
concatenation and the wiki.setText command. But I haven't seen that 
approach used in the core widgets, so I'm guessing it's not the best 
method. I also gather that using arrays will make all the slice, splice, 
etc. operations available for me to use. (No need to explain those, I can 
look them up at w3schools.)

Thanks again,
Pat

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to