Use dynamic variables - You can not have string arrays.

VarSet("T1");
VaeSet("T2");
etc
  ----- Original Message ----- 
  From: Ken Close 
  To: [email protected] 
  Sent: Monday, July 30, 2007 8:18 AM
  Subject: [amibroker] Subscripted Variables Containing Strings


  Sorry for the many messages, but am trying to keep subjects aligned with the 
Subject Line of message.

  How do I subscript variables which contain strings?

  In a previous message I was showing wanting to go through  a list of strings:


  T1 = "DODFX 06/10/2007 50.78";
  T2 = "JORNX 07/13/2007 11.84";

  How do I refer to these strings using subscripts?
  T[1], T[2] are expressly forbidden at the subscripts refer to array 
components.

  Just doublechecked Help file, and find lots of references to subscripts, all 
for arrays.

  I'll bet the answer is simple and obvious, but I don't see it.

  Help?

  Thanks,

  Ken

  Hmmm, Maybe NewVariable = "T" + NumtoStr(i), with i from 1 to 2  ????


   

Reply via email to