Not sure, but maybe this?
loStringCollection = CreateObject('Collection')
with loStringCollection as Collection
.Add('String1')
.Add('String2')
.Add('StringN')
endwith
for each lcString in loStringCollection
endfor
>I have had my head out of VFP for a while, so I am sorry for the simple question.
>
>What is the easiest and quickest way to make a simple collection of strings? Something similar to a .NET StringCollection is what I am looking for. It must be variable length also.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges