FOR LOOP
Posted: Tue Apr 11, 2017 5:12 am
I have the following formula,
frml r_l_loan_bs = l_loan_bs - l_cpi
How to write FOR loop above formula in case of many variables?
Actually, I have written like this
frml r_l_loan_bs = l_loan_bs - l_cpi
for %x l_loan_min l_loan_agr l_loan_manu l_loan_elec l_loan_cons l_loan_trade l_loan_ser
frml r_{%x} = {%x} - l_cpi
But it didn't work. Please help me!
frml r_l_loan_bs = l_loan_bs - l_cpi
How to write FOR loop above formula in case of many variables?
Actually, I have written like this
frml r_l_loan_bs = l_loan_bs - l_cpi
for %x l_loan_min l_loan_agr l_loan_manu l_loan_elec l_loan_cons l_loan_trade l_loan_ser
frml r_{%x} = {%x} - l_cpi
But it didn't work. Please help me!