jbailey268
Programmer
Hope this is the right forum.
I want to benchmark the speed between the old Street Component (written in VFP8) and a .NET equivalent that was recently translated to the .NET platform (Studio 2005).
Originally (in VFP8) I would say oSTR=CREATEOBJECT("Street.Compare")
Is the Syntax exactly the same? Namely,
oStrNew = CREATEOBJECT("StreetDotNet.Compare")
All parameters passed in are the same, 2 strings and 2 integers.
Original Way:
match=oStr.IsEquivalent("125 Second Avenue","125 2nd Ave.",1,0)
New Way ??? Will this work?
ex) match=oStrNew.IsEquivalent("125 Second Avenue","125 2nd Ave.",1,0)
Has anyone tried this kind of thing?
Thanks
As a side note: The string comparison stuff and the array list stuff in .NET were challenging to get thru to make it functionally equivalent. Seems so much easier in VFP.
Where is OCCURS(), SOUNDEX(), DIFFERENCE(), GETWORDNUM() ,
AT(where the need is to find 2nd or 3rd occurence) ?
Maybe it only seems easier in FoxPro because I've been in it for over a decade. Whereas, .NET is all new to me.
I want to benchmark the speed between the old Street Component (written in VFP8) and a .NET equivalent that was recently translated to the .NET platform (Studio 2005).
Originally (in VFP8) I would say oSTR=CREATEOBJECT("Street.Compare")
Is the Syntax exactly the same? Namely,
oStrNew = CREATEOBJECT("StreetDotNet.Compare")
All parameters passed in are the same, 2 strings and 2 integers.
Original Way:
match=oStr.IsEquivalent("125 Second Avenue","125 2nd Ave.",1,0)
New Way ??? Will this work?
ex) match=oStrNew.IsEquivalent("125 Second Avenue","125 2nd Ave.",1,0)
Has anyone tried this kind of thing?
Thanks
As a side note: The string comparison stuff and the array list stuff in .NET were challenging to get thru to make it functionally equivalent. Seems so much easier in VFP.
Where is OCCURS(), SOUNDEX(), DIFFERENCE(), GETWORDNUM() ,
AT(where the need is to find 2nd or 3rd occurence) ?
Maybe it only seems easier in FoxPro because I've been in it for over a decade. Whereas, .NET is all new to me.