Saving Single Wave Values to Text File

Hello, I am working with an Igor program that is generating output data from temperature data associated with a node. Each node has it's own Igor file and therefore it's own output waves. I would like to create a summary file that contains a value from each output wave for each of the files. I have not been able to figure out a way to do this.

I found that I could use the Save command seen below to save the entire waves to a delimited file. However, I only want the final point from each of these waves(they are 5000 points)

Save/J/W temperature_SS,FractionWid,FractionGB,temperature_ss_time,FractionBeta,FractionCol,FractionMart,FractionMass as "temperature_SS++.txt"

So, I tried using that command like this:

Save/J/W/A[=2] temperature_SS[4999],FractionWid[4999],FractionGB[4999],temperature_ss_time[4999],FractionBeta[4999],FractionCol[4999],FractionMart[4999],FractionMass[4999] as "temperature_SS++.txt"

I was thinking that this would only save the last point and when I run it for each file it will append the data to the same text file. When I try to run this command I get a syntax error.

Any advice on how to complete this? Also, a way to save the file name with each line in the text file would be nice but not necessary.

Thanks
I figured out an answer to my problem. I am taking the last values inputted into the waves and copying those to new single row waves. I can easily save these while appending to the same text file.


Thanks