A functiopn / procedure can only return ONE  value.

In order to return more than one value use global variables
A = B = C = D = 0;

function ABCD(A,B,C,D)
{

//
Update E = A ... etc
}
  ----- Original Message ----- 
  From: David Jennings 
  To: [email protected] 
  Sent: Thursday, December 21, 2006 11:09 AM
  Subject: [amibroker] Procedure Help Please


  I have a procedure with 4 input arrays e.g.

  Procedure ABCD(A,B,C,D);
  {
  ABCD updated here ...
  }

  Within the procedure, I update A, B, C, & D. 
  How do I ensure I get the updated values when I reference them in the code 
after the procedure is called. 


  Many Thanks

  DJ
   

Reply via email to