Documentation confusion
Posted: Tue Feb 24, 2026 12:21 am
In the documentation for the wfopen command, it says
and then use that list like this:I suspect that many users might find that unintuitive.
But lo and behold, this is not required. And wfopen accepts the standard list type just fine (or at least the import command does, but it according to the documentation uses the same syntax). So you don't have to write but can simply write or using a ready-made list
It would be good if the documentation made this clear.
This format for a list is somewhat unusual in EViews, which in my experience tend to use simple space-separated lists:“names=("arg1","arg2",…)”, user specified column names, where arg1, arg2, … are names of the first series, the second series, etc. when names are provided, these override any names that would otherwise be formed from the column headers.
- like this: series1 series2 series3
- not like this: "series1", "series2", "series3"
Code: Select all
%my_list = "series1 series2 series3"
%my_list = @wreplace(%my_list, "*", """*"",", "all")Code: Select all
names=({%my_list})But lo and behold, this is not required. And wfopen accepts the standard list type just fine (or at least the import command does, but it according to the documentation uses the same syntax). So you don't have to write
Code: Select all
names=("series1", "series2", "series3")Code: Select all
names=(series1, series2, series3)Code: Select all
names=({%my_list})