> The table started with number 0 - so I changed this line: > for (var i=0; i<tids.length; i++) > into > for (var i=1; i<tids.length; i++) > Now the table starts with number 1 instead of zero... > How do I make the endcount take this into consideration (-1) ??
The 'loop index' variable, i, *must* start from 0 because the array of matched tiddlers starts with 0. Change the starting value to 1 will result in skipping over the first matched tiddler! Instead, do this: out.push(row.format([i+1,el,sy,d])); -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 -~----------~----~----~----~------~----~------~--~---

