schokker_ron
New Member
- Joined
- Jan 14, 2015
- Messages
- 1
I have declared the constants below.
Const TNTFuelAdd = 0.1
Const UPSFuelAdd = 0.16
Const RHENUSFuelAdd = 0.15
I also have the Variable ‘Transporter’. In a case the ‘Transporter’ variable has the value “TNT”.
Now, I want to get the value of the constant TNTFuelAdd.
I tried something like FuelAddValue = (Transporter & “FuelAdd”), but that fails.
How do I do thing?
Thanks in advance for the help.
Const TNTFuelAdd = 0.1
Const UPSFuelAdd = 0.16
Const RHENUSFuelAdd = 0.15
I also have the Variable ‘Transporter’. In a case the ‘Transporter’ variable has the value “TNT”.
Now, I want to get the value of the constant TNTFuelAdd.
I tried something like FuelAddValue = (Transporter & “FuelAdd”), but that fails.
How do I do thing?
Thanks in advance for the help.