George
>>I would argue that for readibility using SELECT CASE would be more appropriate whenever you hit about four deep in the IF...THEN...ELSEIF.<<
I'd agree except that you can't use Select Case with multiple Case expressions as you can with the VFP Case statement.
>> VB, being much stronger typed as offers at least one mathematical operator (integer division. ie. 5 \ 2 returns 2 which would be equivalent to INT(5 / 2), which is also available in VB.) <<
Sure, you can use Int(5 / 2) just as you do in VFP even though I guess a purist might insist that the Int() is not required in typed integer math.
>> Other differences in syntax, Instr() as opposed to AT(), Mid() as opposed to SUBSTR().<<
But these are small and can be handled fairly easily...
>>Then you have the ability to create a structure, which has no equivalent. The AddressOf function for callbacks.<<
For a VFP person looking for equivalence in VB, though, the presence of such commands in VB is not part of the equation.
I agree with you, the syntax is so similar.
Regards
JR
"... 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