Strings and objects in Neuron
Posted: Sun Jun 05, 2011 2:07 pm
I would like to create a File object (by the i mean obFile = new File("file_name.txt") ) where file_name.txt is actually a string which is the name of some other object (let's say I have a List object that I have named synList).
What I would like to do is have some function where synList is an input ($o1) and I can somehow say something like:
obFile = new File($o1.string()) or something like that.
Does such a .string() function exist? or maybe .name()? I see the .alias() function, but it doesn't seem right for what I want to do.
Thanks for your time.
What I would like to do is have some function where synList is an input ($o1) and I can somehow say something like:
obFile = new File($o1.string()) or something like that.
Does such a .string() function exist? or maybe .name()? I see the .alias() function, but it doesn't seem right for what I want to do.
Thanks for your time.