gra_return_data_address

Format:
int gra_return_data_address( char $*$name, float $**$x, float $**$y)
Description:
Returns the addresses of the data arrays of a specified SCAN. This function allows a program to manipulate data which is inside the queue.

Example:

int some_funct() 
{ 
  float *x, *y;
  int np, i; 

  gra_command(" create test 0 10 100 0"); 

  gra_return_data_address( "test", &x, &y); 
  gra_decode_int( "curr(test)", &np);  

  for( i=0; i < np; i++) 
    { 
      x[i] = ... ;
      y[i] = ... ;
    } 

  gra_command(" cls; display/graphic"); 
  ... 
}