Zitat:
Zitat von yytrader
MQL4:
Code:
#import "Project1.dll"
int Arrays (double a[], int b[]);
#import
int init()
{
int tmp;
double a[10]={2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0};
int b[10]={1,2,3,4,5,6,7,8,9};
tmp = Arrays(a, b);
Print("tmp:",tmp);
return(0);
}
|
Hallo, danke für das Beispiel. Ich bekomme nur beim kompilieren zwei mal die Fehlermeldung:
'a' - arrays are passed by reference only
'b' - arrays are passed by reference only
Gruß