String representing the name of an object

Mark S Cox m.s.cox at bham.ac.uk
Tue May 22 15:32:08 UTC 2007


Is it possible to obtain the size of a List without hard coding the name
of the List into the code? For example I have tried the following, 

 

Dim ListSize As Integer

ListSize = c.GetAttrib("Running").Size

 

Unfortunately this returns the following error, 

 

"Left of "." must be an object, structure or dialog."

 

I understand why the error is being returned. E-Prime is expecting an
object, a List in this case, instead of a String. 

 

Therefore my question is how does one go about using a String value to
represent the name of an object?

 

Best Regards

 

Mark Cox

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20070522/fbff0aea/attachment.htm>


More information about the Eprime mailing list