so what
this mean that we does not have function pointer in vb?
in this With these conditions we can not pass a function pointer to another function
for example in c++ we have function pointer and can call it.
int sum(int x1,int x2){
return x1+x2;
}
int sub(int x1,int x2){
return x1+x2;
}
int f(int p1,int p2,int (*x(int,int))){
return x(p1,p2);
}
int main(){
cout<<f(5,10,sum);
cout<<f(5,10,sub);
}
i want do some work in vb. how do i do this?
excuse me for my English
thank you very much