VBCorLib
VBCorLib copied to clipboard
Consider adding LINQ-like Lambdas
Just a heads up, we've made a Lambda class which could be useful in VBCorLib also, it should be compatible.
It would allow code similar to:
set newNumbers = numbers.Where(linq("$1 mod 2 == 0").OrderBy(linq("$1"));
It should be usable in VB6 as it is. Bear in mind our current parser doesn't manage parameter names, but with a little modification we should be able to change that to something more like linq: (p1,p2) => p1*p2
.
That's certainly an interesting idea. I'll have to check this out.