Automating scattering contrast calculator

I'm new with programming Igor pro and I am trying to automate the scattering contrast calculator in the SAS Irene package. I have a massive list of slightly different compositions of a certain nickel alloy and I want to write a code to go through my list and calculate the scattering contrast for each composition.

Thanks for any help