Are the 4 output value percentages all the same:
50%
75%
100%
100%
or do you need to generically pass in 4 different percentages in each CALL (along with the base value)?
In C++, you would do something like
void CalcPercentages(int BaseValue, int percent1, int percent2, int percent3, int percent4, int &out1, int &out2, int &out3, int &out4);
so you would have
CALL CalcPercentages(/* in parms */ V1, 50, 75, 100, 100, /* out parms*/ V10, V11, V12, V13);
Or are the 4 percentages unnecessary (they are ALWAYS 50/75/100/100?)