Is the syntax for VBScript and VB.NET exactly the same?
Specifically, would a syntax parser for VB.NET work for VBScript?
No, they are not the same.
vb.net is a jit-compiled strongly typed object oriented language that runs on the .net framework; vbscript is interpreted. Syntax is different in many subtle ways, mostly relating to scoping and the keywords necessary for vb.net to support true object oriented concepts that vbscript just doesn't have.
No, the syntax for VBScript is very similar to pre-.NET Visual Basic (i.e., VB6). VB.NET is completely different. But even compared to VB6, VBScript is still watered down.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With