Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory and File List.
Message
From
05/04/2002 03:49:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640628
Message ID:
00641270
Views:
29
Rodolfo,
Thanks for the code. Actually my very first original code is almost the same as the one you sent - except VFP7 specific case param :)
Cetin

>Hi Cetin!
>
>Thank you. It works perfect! :)
>
>My friends Fabiano Costa and Antonio Lopes answer my question too (Visual Foxpro Portuguese Edition). Take a look:
>
>mostra_dir("c:\dados")
>
>procedure mostra_dir(m.path as Character)
>if !used("cDir")
>	create cursor cDIR (dir c(254))
>endif
>local array m.laDir(1)
>local m.lnTotalDir as Number, m.loop1 as Number
>m.lnTotalDir=adir(m.laDir,addbs(m.path)+"*","ADHRS",1)
>for m.loop1=1 to m.lnTotalDir
>	if m.laDir(m.loop1,1)=="." or m.laDir(m.loop1,1)==".."
>		loop
>	endif
>	insert into cDir (dir) values (addbs(m.path)+m.laDir(m.loop1,1))
>	if "D"$m.laDir(m.loop1,5)
>		mostra_dir(m.path+"\"+m.laDir(m.loop1,1))
>	endif
>endfor
>return .t.
>
>
>It's too fast, but isn't complete like yours. :)
>
>I'd like to thank Armin Neudert, Robert Munteanu and Ed Rauh!
>
>[]s! :)
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform