> One thing I miss though - it's numbers for rows and
> an endcount for the table...
> What would the script look like with numbers for each
> 'entry' and an endcount for the table??
* add another column 'placeholder' to the table row format string:
var row='|%0|%1|%2|%3|';
* add an appropriate heading for the new column:
out.push('| Number | Student | Synopsis | Description |h');
* add the 'loop index' variable, i, to the *beginning*
of the array of values to be formatted:
out.push(row.format([i,el,sy,d]));
* add another line of output following the table,
showing the number of tiddlers that were listed:
out.push('count='+tids.length);
That should do it.
enjoy,
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---