News for hackers. Stuff that matters.
Re:On VBScript by teh_klev on Thursday December 20, 2018 @09:25AM (#18725088)
Minor nitpick. Office embeds VBA (Visual Basic for Applications) which is pretty much Visual Basic 6. You also get the benefits of early binding and strong typing, for example:

    Function DoSomething(name As String) As String
    End Function
VBS is a different beast. Whilst it shares the more or less the same language keywords and constructs as VB6/VBA (most VB6/VBA code is valid VBS code), it's actually more akin to a dynamically typed language.

For example, all variables in VBS are Variants, you can't declare things as explicit types, say strings or integers. If you need to instantiate classes residing in external COM libraries you need to use the CreateObject() built-in and specify that class's "ProgID" e.g.

    Set thinger = CreateObject("MyLib.Thingy")
vs

    Dim thinger As MyLib.Thingy
Re:On VBScript by xellisx on Thursday December 20, 2018 @12:31PM (#18726976)
Yeah - I got confused on VBA / VBS....