[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Subscripted Variables Containing Strings



PureBytes Links

Trading Reference Links

Use dynamic variables - You can not have string arrays.
 
VarSet("T1");
VaeSet("T2");
etc
----- Original Message -----
From: Ken Close
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  ????
 
 
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___