-
From: Ian Skinner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 10:21 AM
To: CF-Community
Subject: RE: VBSCript question
What everybody has pretty much been saying. You are looping over the "fc"
collection. For each iteration of the loop, the next member of the
col
What everybody has pretty much been saying. You are looping over the "fc"
collection. For each iteration of the loop, the next member of the
collection is assigned to "f1". What is missing here is the "Next"
statement to end the loop, and assumable something in between to do
something to or with
Yeah..but the syntax is wrong. f1 is never set, so you can't look for it
in the list, unless you're just looking for null, which is what f1 would
equal after being defined but not set.
At 01:45 PM 12/30/02, Ben wrote:
>I've never worked in VBscript, but it looks like f1 is simply a single value
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 q
I've never worked in VBscript, but it looks like f1 is simply a single value
pulled from the values in fc which appears to be a list of files in the
folder.
--Ben Doom
Programmer & General Lackey
Moonbow Software
: -Original Message-
: From: Robert Everland [mailto:[EMAIL PROT