Not possible.
- Not possible. Individual values are not an array.
- Arrays are passed by reference, not by value.
- You can only use the type array[]={…}; form with constants.
void my_function(string& array[]){ } string T[3]; T[0]="text1"; T[1]="text2"; T[2]="text3"; my_function(T);
Well you can pass a single value of an array like:
void my_function(string str ) { Print(str); } //Call the function and pass single data directly my_function( arr[2] );
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i want to ask if something like this is possible