Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Powerbasic > Re: Read Files ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 172 of 282
Post > Topic >>

Re: Read Files of Directory in PBWIN 6/7/8

by Peter Manders <news@[EMAIL PROTECTED] > Jan 11, 2006 at 03:06 PM

On Wed, 11 Jan 2006 11:07:14 GMT, changling <allspam@[EMAIL PROTECTED]
>
wrote:

>
>a = DIR$("C:\*.*")
>DO
>  LISTBOX ADD hDlg, lID, a
>  a = DIR$
>LOOP UNTIL a = ""  

That'll work, but:

LOOP UNTIL LEN(a) = 0

is slightly faster, and a bit more logical to me.

-- 
Peter Manders.

Post may contain irony: discontinue use if experiencing mood swings,
nausea or elevated blood pressure.
 




 4 Posts in Topic:
Read Files of Directory in PBWIN 6/7/8
Alen Hopek <alen.hopek  2006-01-11 00:52:31 
Re: Read Files of Directory in PBWIN 6/7/8
changling <allspam@[EM  2006-01-11 11:07:14 
Re: Read Files of Directory in PBWIN 6/7/8
Alen Hopek <alen.hopek  2006-01-11 15:02:15 
Re: Read Files of Directory in PBWIN 6/7/8
Peter Manders <news@[E  2006-01-11 15:06:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 12:41:52 CDT 2008.