mcmichael13
04-27-2009, 10:57 AM
ok so I have a request from my boss... I suggested some other methods to do this but he wanted to know if it was possible to do it in the way i'm about to desribe:
Background:
We have a spread sheet with test data that are put onto plots. the spreadsheet uses a graph, and PIP to show which "bin" each of the tested parts fall into. However, he wants to combine all the tested parts into one spreadsheet.
Now the function is defined for the particular part tested. He was curious as to whether the actual name of the function could be a variable
i.e.
Function SoL_bin_D2(u, v)
if "SoL_bin_D2" could change so that the code would run based on the part number, and the function would also be defined under this part number.
I suggested If statements that would just encapsulate the entirety of the function but he doesnt want that for ease of future manipulation.
Any suggestions?
Please ask if you need any more info. Thanks.
Background:
We have a spread sheet with test data that are put onto plots. the spreadsheet uses a graph, and PIP to show which "bin" each of the tested parts fall into. However, he wants to combine all the tested parts into one spreadsheet.
Now the function is defined for the particular part tested. He was curious as to whether the actual name of the function could be a variable
i.e.
Function SoL_bin_D2(u, v)
if "SoL_bin_D2" could change so that the code would run based on the part number, and the function would also be defined under this part number.
I suggested If statements that would just encapsulate the entirety of the function but he doesnt want that for ease of future manipulation.
Any suggestions?
Please ask if you need any more info. Thanks.