Subj : index dependent filename To : borland.public.cpp.borlandcpp From : "cory" Date : Tue Oct 28 2003 08:37 pm I want to run a loop indexed by an integer (k) several times and output the data to a different file with each loop. Is there a way to write print to file statements wth name that depend on the index (k)? For example how do I write "yahoo on (k)" to file yahoo_k.txt for each index (k). Cory .