Yeah, what Ben said. The for/each logic is the same as in CFScript for/in. I just think MS decided VBScript people needed that extra adverb ;-)
-- jon mailto:[EMAIL PROTECTED] Monday, December 30, 2002, 1:32:51 PM, you wrote: RE> I am pretty good at figuring out syntax for Vbscript, the only question I RE> have is when I get this code RE> Function ShowFolderList(folderspec) RE> Dim f, f1, fc, s, ra, fr RE> Set f = fso.GetFolder(folderspec) RE> set subf = f.subfolders RE> Set fc = f.Files RE> For Each f1 in fc RE> They put the variable f1, now where do they get that? Granted I defined it RE> up there, but where do I find out variabels from a collection. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
