Ashcan
Member
Hello,
I have made a currency conversion program at college, but now developing it some more.
I have 2 ComboBox's each one has the same list of Currencys, I have 50+ lines off IF statements that decide the currency rates for the calculation.
IF combobox1.text = "British pound" And combobox2.text = "Euro" then _
Label1.text = "0.5"
Instead of doing this, Can I use the Case decision structure to give each case a number value and make the calculation based upon them?
Thanks in advance.
//
Ashley
I have made a currency conversion program at college, but now developing it some more.
I have 2 ComboBox's each one has the same list of Currencys, I have 50+ lines off IF statements that decide the currency rates for the calculation.
IF combobox1.text = "British pound" And combobox2.text = "Euro" then _
Label1.text = "0.5"
Instead of doing this, Can I use the Case decision structure to give each case a number value and make the calculation based upon them?
Thanks in advance.
//
Ashley
Last edited: