Home »
Public Forums »
archive »
Limit to input when creating a SAVE file?
Limit to input when creating a SAVE file? [message #82872] |
Tue, 22 January 2013 07:17 |
rjp23
Messages: 97 Registered: June 2010
|
Member |
|
|
I've got a series of save files that contain monthly data (the variables are all the same name, and most are 1D but a few are 2D arrays).
I wanted to restore each of these save files and concatenate the data all together and then save them in a new save file.
Rather than just using "save, /all" I know the names of these variables (one of the variables is a list of all the other variable names) so I thought I could use execute to pass this list to the save command
i.e.
str='save, filename="all_months_data.sav",' +variable_list
exe=execute(str)
But the SAVE function crashes and it looks like it's because my "variable_list" is too long. Is there a limit on the length of the arguments that can be passed to SAVE?
Is there a nicer way to do this?
Cheers
|
|
|
Current Time: Wed Oct 08 19:24:18 PDT 2025
Total time taken to generate the page: 0.00568 seconds