Why does ObjectDescription only require one parameter?

Back to topics list To post a new topic, please log in or register
avatar
27
1mathboy1 2015.02.14 05:21
 
ObjectDescription takes one input-the name of an object. What if I have multiple objects, each on different charts, with the same name? How do I distinguish them?
avatar
1211
deysmacro 2015.02.14 05:34 #
 
Same name but distinguishable. Example: obj1, obj2 and so on.
avatar
Moderator
3416
GumRai 2015.02.14 05:54 #
 
ObjectDescription will return the description text from the chart that the expert is attached to
avatar
Moderator
3206
angevoyageur 2015.02.14 16:35 #
 
1mathboy1:
ObjectDescription takes one input-the name of an object. What if I have multiple objects, each on different charts, with the same name? How do I distinguish them?
string description=ObjectGetString(chartID,objname,OBJ_TEXT);

avatar
27
1mathboy1 2015.02.14 18:40 #
 
angevoyageur:

Thanks! didn't know that function existed haha
Back to topics list  

To add comments, please log in or register