For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > June 2006 > Syntax for this in PB.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Syntax for this in PB.
2Tall

2006-06-28, 6:28 pm

I'm trying to do something simliar to whats found here:
http://www.eggheadcafe.com/articles/20030627b.asp

I don't know how to do a specific part in Powerbuilder, however, which is:

dim file 'for stepping through the files collection '

...

'process all the files in the folder
For each file in fso.GetFolder(foldername).Files

(commands here on the "file" variable, such as file.delete)

How do I write this 'for each' statement in powerbuilder so I can flip thru each file and do things to each?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com