Updating all variables in a procedure to use a needed variable

I am still pretty new to using this application, it has been great so far. However I have ran into something I am not to sure how to do.

I have a generic procedure, running through a series of events based on month. Right now I have it only working with a single variable. I was wondering if there is a way to call the procedure, and when it is called to update all the variables within the procedure. so say.....

Procedure
A + B = C

Procedure
A + D = C

So what I am looking for, is a way, to have the second variable or to get updated based on outside forces from the procedure. Any help would be great!

add inputs to your procedure ?

image

I thought about doing that, but that is not quite what what I am looking for.

In the example I am working on, I would drop B from that and replace it with Variable D on call. If I put A D C in the top, would that automatically change all the B within the procedure to a D?