hi all,
1) how to define [rpgle] pointer data types??
2) how to assign *pointer value into the variable??
what im going to do is
psudo:
thanks
1) how to define [rpgle] pointer data types??

2) how to assign *pointer value into the variable??
what im going to do is
psudo:
Code:
void swap2( int *a, int *b)
{
int tmp = *a;
*a = *b;
*b = tmp;
}
void main()
{
// i want to call swap2
int a = 10 , b = 20;
swap2(&a, &b);
}
thanks






Register (for free downloads ) at
Comment