Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir on steroids?
Message
 
To
18/09/2002 09:23:15
Fabio Barbosa Silva
Jms Assessoria E Consultoria Ltda
Belo Horizonte, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00701490
Message ID:
00701741
Views:
18
>hello , try ,
>
>local cont, scont
>create cursor tmpdir (dirname c(60))
>cont=adir(vardir,"\*.","D")
>for scont = 1 to cont
> if right(vardir(scont,5),1)="D"
> insert into tmpdir(dirname) values ("\"+alltrim(vardir(scount,1)))
> endif
>endfor

And what is wrong? Just replace 'scount' to 'scont' to make it work.

!Sorry I did not recognize it is the answer to previous post. So, disregard.
Previous
Reply
Map
View

Click here to load this message in the networking platform