EDIT: Wait a min, tab2 works but not tab1? Eh?

It should be the other way round, tab 2 is the one working incorrectly for me.

*confused*

Nevertheless, regarding the changing from 59 to 44:

I take it you didn't read my first reply carefully.

The whole point is: the parameters you specify in an alias are delimited by commas.

Meaning $tab(a,b,c) sends to the tab alias 3 parameters:

$1 = a
$2 = b
$3 = c

and $0 = 3 and $1- = a b c (see how there are no more commas? that's because a comma is a delimiter)

Meaning $tab(a;b;c) sends to the tab alias 1 parameter:

$1 = a;b;c

with $0 = 1 and $1- = a;b;c

Do you see what I mean? Looping with "while $N" is futile, since there is only 1 parameter, so you have to tokenize 59 $1 to make it work like you want to.

//tokenize 59 a;b;c --> will give as tokens: $1 = a, $2 = b, $3 = c

Greets

Last edited by FiberOPtics; 18/01/05 12:35 PM.