are user defined filenames possible?

Ben Robinson BRobinso at mprc.umaryland.edu
Wed Dec 21 18:21:16 UTC 2005


is it possible to get eprime to name the data file using a user-defined string variable, rather than the SubjectID?
 
i've tried inserting this code:
c.DataFile.Filename = CStr(c.GetAttrib("Experiment")) & "-" & CStr(c.GetAttrib("MyOwnStringVariable")) & "-" & CStr(c.GetAttrib("Session")) & ".txt"

and also tried with this code:
c.SetAttrib "Subject", c.GetAttrib("MyOwnStringVariable")
 
but neither seems to work, since the data file has already been created and named by the time eprime gets around to running my own code...
 
any thoughts would be appreciated.
 
ben robinson

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


More information about the Eprime mailing list