Chacmool wrote:Yes it is possible... don't fully understand what you mean though...
If I had a function called add that required two integer arguments, and returned an integer, its prototype would look like this:
int add(int a, int b)
to call this function I would use the following syntax:
add(1, 2)
this would return 3
Now if I wanted to pass an argument to a function in Builder (Button1Click in this case) is it possible to pass an argument directly (as oppose to picking up values from elsewhere. the reason I want to do this is to avoid having to use Global scope variables.
I have now actually recoded my program differently and now require to determine the name of the Sender variable passed to the Button1Click function. ie was it initiated from a Button Click or called from another area of the program. I know this is possible but don't know how to do it. Any Help appreciated.