Page 1 of 1

Infinite number of arguments to @wunion

Posted: Fri May 24, 2013 10:30 pm
by paues
It would be great if there was no restriction to the number of arguments in the function @wunion. To create a union of more than two strings it is now necessary to do things like below:

Code: Select all

%myunion=@wunion(@wunion(%str1,%str2),@wunion(%str3,%str4)) %myunion=@wunique(%str1+" "+%str2+" "+%str3+" "+%str4)
It would be nice if the syntax instead allowed:

Code: Select all

%myunion=@wunion(%str1,%str2,%str3,%str4)

Re: Infinite number of arguments to @wunion

Posted: Sun May 26, 2013 12:50 pm
by EViews Gareth
Creating functions with non-fixed numbers of arguments is not something the EViews language supports. :(