Oberon Community Platform Forum

Development => General => Topic started by: darek on August 22, 2011, 01:07:47 PM



Title: How to do it in WinAos
Post by: darek on August 22, 2011, 01:07:47 PM
Hi All,
  I need to perform some calculations that involve reading data from  a set of  files (more than 3000 of them).

  How I can get a list of files in a user defined  directory using  ActiveOberon (something like Matlab's  dir function)  ?

  I am using WinAos on Win7.
  
  Any suggestions are welcome.

Cheers,
   Darek  


Title: Re: How to do it in WinAos
Post by: negelef on August 22, 2011, 01:44:10 PM
Have a look at the Files.Enumerator Object. It is used e.g. in the implementation of the FSTools.Directory command.


Title: Re: How to do it in WinAos
Post by: darek on August 24, 2011, 08:41:34 PM
Thanks for your tip. The solution works like a charm  :).

Regards,
   Darek