ID:175120
 
Is it possible to split a var into unequal parts. Then to assign those parts to different variable. Or even better to asign it to one variable that would subtract those values from yet another variable.

Thank you for yout time
Im not 100% sure if get what you mean? Do you want to split a variable and throw 40% in one var, then 60% in another?
For that you just find out what 40% of the variable is, put that in a var and take it out of the old one, then put whats left of the old one into another new var.
SSChicken wrote:
Is it possible to split a var into unequal parts. Then to assign those parts to different variable. Or even better to asign it to one variable that would subtract those values from yet another variable.

What exactly do you mean by splitting a var? A var is just a holding place for a value; you can manipulate that value in any way you like. If you can be more specific as to what you need, I think I can help.

Lummox JR