FUNCTION ONE ()
HOW TO SET THE BUYSTOP VARIABLE FORM OUTSIDE FUNCTION AND HOW TO CHECK THE VALUE OF BUYSTOP VARIABLE OUT SIDE THE FUNCTION
IN SIMPLE I NEED TO GET , SET AND CHECK THE VARIABLE VALUE DEFINED WITH IN THE FUNCTION FROM OUT SIDE THE FUNCTION
PLEASE GIVE ME AN EXAPLE FOR THIS
in your main code
void Function1(int &bs)
PS please don't post in capital letters. It is considered rude in forums
please give me an fully solved example
else it is not possible for me to understand
it is my humble request
Sorry, but i have no idea what you want. Your post is not very clear.
I gave you an example where the variable BuyStop is passed by reference to the function and then the function gives that variable the value 1
Have you edited your original post? I am sure that it is not the same post that i replied to.
To add comments, please log in or register