Re: Wildcard
- Posted by Ad Rienks <Ad_Rienks at COMPUSERVE.COM> Jun 14, 1998
- 816 views
Daniel, >At 02:20 AM 6/14/98 -0300, you wrote: >Has anyone coded a file >wildcard routine? >Example: >"*.exe" --> returns a sequence of >all .exe files on the given path. > >Regards, > Daniel = >Berstein > daber at pair.com > >I haven't played with it yet, but I do have wildcard.e in my >include directory. I believe it was in the Eu2.0 package, but if >not I must have gotten it from one of the euphoria sites. I can >e-mail it to you if you like = I don't know if this it what you want, but you don't need wildcard.e at a= ll if you want something like this: -- wildcard.ex include file.e sequence exe_files exe_files =3D dir("\\euphoria\\bin\\*.exe") for files =3D 1 to length(exe_files) do printf(1, "%s\n", {exe_files[files][1]}) end for while get_key() =3D -1 do = end while