« Return to Thread: new ctags added to Lasso.Pro library

new ctags added to Lasso.Pro library

by Bil Corry :: Rate this Message:

Reply to Author | View in Thread

For those that are interested, I posted two new ctags today:


-----------------------------------------------------------

[lp_array_roundrobin]  <http://www.tagswap.net/lp_array_roundrobin>

This tag takes an array and returns one element per $var call.

Example:

var:'test' = (lp_array_roundrobin:(:'a','b','c','d','e'));
loop: 10;
        $test; // returns: abcdeabcde
/loop;

-----------------------------------------------------------

[lp_iterate]  <http://www.tagswap.net/lp_iterate>

This tag is just like iterate, but the looping var is optional (instead, use loop_item).  It's based on code from John Burwell.

Example:

lp_iterate: (:'a','b','c');
        loop_item; // returns: abc
/lp_iterate;

-----------------------------------------------------------

In addition, the entire library is now available as a single download:

[lp__library]
  <http://www.tagswap.net/lp__library>

-----------------------------------------------------------



- Bil


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <foundation@...>.
To unsubscribe, E-mail to: <foundation-off@...>
To switch to the DIGEST mode, E-mail to <foundation-digest@...>
To switch to the INDEX mode, E-mail to <foundation-index@...>
Send administrative queries to  <foundation-request@...>

 « Return to Thread: new ctags added to Lasso.Pro library