Store program result in variable.