Correlation matrix

Hello,
I would like to display the (linear) correlations of 8 variables (A, B, C, D, E, F, G, H) with themselves in a correlation matrix in IGOR.
Is there some code that would allow me to do this quickly?

I found some snippets of code on IGOR exchange, but I am unsure how to adapt this code to my data (http://www.igorexchange.com/node/990).

Thank you.
The StatsCorrelation function might work for your purpose. For more information on it, type into the command line

displayhelptopic "statscorrelation"