Making list of looped graph names
Posted: Wed Aug 28, 2013 3:12 am
I wish to merge several graphs that have loop-references in the names. Example
GRAPH_{%str2}_{%str1} is a graph name. Here str2 is a scenario and str1 is the variable name.
From the thread http://forums.eviews.com/viewtopic.php? ... 492#p19938I understand that I have to build a list of the graph names. The loop suggested for "grnames" in the thread seems to assume that each graph-name must end by a number. This is not the situation for me, as the graph names do not end by a number. To specify: How to create List_{%str2} = (GRAPH_{%str2}_{%str1} ), where the number of elements in List_{%str2} = the number of elements in str1 and where {%str2} and {%str1} in the list equals the actuall element in str2 and str1 (and not the number)?
I understand if this was difficult to understand, so just ask if there is something unclear!
GRAPH_{%str2}_{%str1} is a graph name. Here str2 is a scenario and str1 is the variable name.
From the thread http://forums.eviews.com/viewtopic.php? ... 492#p19938I understand that I have to build a list of the graph names. The loop suggested for "grnames" in the thread seems to assume that each graph-name must end by a number. This is not the situation for me, as the graph names do not end by a number. To specify: How to create List_{%str2} = (GRAPH_{%str2}_{%str1} ), where the number of elements in List_{%str2} = the number of elements in str1 and where {%str2} and {%str1} in the list equals the actuall element in str2 and str1 (and not the number)?
I understand if this was difficult to understand, so just ask if there is something unclear!