Evan,

If we check the direction in switch case, then there is no need to correct 
for it in 


// May need to count backwards
// var direction = ((end<beg) ? -1 : 1);
// inc *= direction;
var direction = 1;

We can also check this for the part with two parameters e.g

range[a,b], if a< b then step=1
range[a,b], if a>b then step=-1



Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6856525-9c25-4fad-98db-73851dac53c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to