>> And thought that I had been through it all. Certainly not. I learned quite a few tricks reading this great resource.
Recently I dug out one of Tamar's historic articles wrt a parsing need. The article covered the ancient Copy to Array that is very quick for smaller resultsets and resulted in new functions in VFPA to speed up bit manipulation- check out VFPA's new Calculate BOR/BAND expressions.
I learned something else new last week: GATHER performs on-the-fly casting for different field types.
create cursor c_test (intvar i, dubvar B, charvar c(20),datevar c(20))
append blank
intvar="100"
dubvar="100"
charvar=100
datevar=date()
gather memvar
browse
Who'd have thunk it? Still learning new tricks after all these years.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1