Re: Wildcard

new topic     » goto parent     » topic index » view thread      » older message » newer message

-----Original Message-----
De: Ad Rienks <Ad_Rienks at COMPUSERVE.COM>
Para: EUPHORIA at cwisserver1.mcs.muohio.edu
<EUPHORIA at cwisserver1.mcs.muohio.edu>
Fecha: domingo 14 de junio de 1998 7:32
Asunto: Re: Wildcard



>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 all
if you want something like this:

-- wildcard.ex

include file.e

sequence exe_files

exe_files = dir("\\euphoria\\bin\\*.exe")

for files = 1 to length(exe_files) do
    printf(1, "%s\n", {exe_files[files][1]})
end for

while get_key() = -1 do
end while



Thanks Ad (and all other who replied)!! How stupid from me.... it's that
simple!

Regards,
    Daniel Berstein

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu