Which one do you like the most and why?

Re: VBScript Vs. Javascript by CoolHandSid

CoolHandSid
Tue Mar 02 19:34:11 CST 2004

for scripting for the web!!

"CoolHandSid" <cool@coolhandluke.com> wrote in message
news:eRpGz1LAEHA.2212@TK2MSFTNGP10.phx.gbl...
> Which one do you like the most and why?
>
>



Re: VBScript Vs. Javascript by Chris

Chris
Tue Mar 02 19:54:12 CST 2004

Oh dear God, not another VBScript vs. JScript request.

Try them and see?

VBScript is 'classic' and pretty good for ASP but in recent times has begun
to decline in favour of JScript due to better error handling and the
possibility of common .js files used for both server-side and client-side
scripts.
JScript (or JavaScript) is the *only* language that should ever be used for
client side.

That's about it really [apart from the obvious syntactic differences areas
of functionality that differ such as number formatting (better in VBScript),
arrays (better in JScript), COM (some minor issues in JScript), expando (non
existent in VBScript)].

Personally, I use JScript for everything now since I find it a easier for
error handling and syntactically better than VBScript.

Chris.

"CoolHandSid" <cool@coolhandluke.com> wrote in message
news:ubsut9LAEHA.448@TK2MSFTNGP11.phx.gbl...
for scripting for the web!!

"CoolHandSid" <cool@coolhandluke.com> wrote in message
news:eRpGz1LAEHA.2212@TK2MSFTNGP10.phx.gbl...
> Which one do you like the most and why?
>
>




Re: VBScript Vs. Javascript by CoolHandSid

CoolHandSid
Tue Mar 02 20:16:38 CST 2004

Thanks for the post!!
I'm new to windows scripting!
All the things that can be done in VBScript can be done by JScript?

Sid.

"Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:udo2uJMAEHA.2180@TK2MSFTNGP09.phx.gbl...
> Oh dear God, not another VBScript vs. JScript request.
>
> Try them and see?
>
> VBScript is 'classic' and pretty good for ASP but in recent times has
begun
> to decline in favour of JScript due to better error handling and the
> possibility of common .js files used for both server-side and client-side
> scripts.
> JScript (or JavaScript) is the *only* language that should ever be used
for
> client side.
>
> That's about it really [apart from the obvious syntactic differences areas
> of functionality that differ such as number formatting (better in
VBScript),
> arrays (better in JScript), COM (some minor issues in JScript), expando
(non
> existent in VBScript)].
>
> Personally, I use JScript for everything now since I find it a easier for
> error handling and syntactically better than VBScript.
>
> Chris.
>
> "CoolHandSid" <cool@coolhandluke.com> wrote in message
> news:ubsut9LAEHA.448@TK2MSFTNGP11.phx.gbl...
> for scripting for the web!!
>
> "CoolHandSid" <cool@coolhandluke.com> wrote in message
> news:eRpGz1LAEHA.2212@TK2MSFTNGP10.phx.gbl...
> > Which one do you like the most and why?
> >
> >
>
>
>



Re: VBScript Vs. Javascript by Viatcheslav

Viatcheslav
Wed Mar 03 01:38:03 CST 2004

Almost all - VBScript has better support for classes, VBScript can also
convert variable to any type that is supported by VARIANT (int, float,
datetime, string etc.).

//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE

"CoolHandSid" <cool@coolhandluke.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:%23SB8aVMAEHA.3316@TK2MSFTNGP11.phx.gbl...
> Thanks for the post!!
> I'm new to windows scripting!
> All the things that can be done in VBScript can be done by JScript?
>
> Sid.
>
> "Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:udo2uJMAEHA.2180@TK2MSFTNGP09.phx.gbl...
> > Oh dear God, not another VBScript vs. JScript request.
> >
> > Try them and see?
> >
> > VBScript is 'classic' and pretty good for ASP but in recent times has
> begun
> > to decline in favour of JScript due to better error handling and the
> > possibility of common .js files used for both server-side and
client-side
> > scripts.
> > JScript (or JavaScript) is the *only* language that should ever be used
> for
> > client side.
> >
> > That's about it really [apart from the obvious syntactic differences
areas
> > of functionality that differ such as number formatting (better in
> VBScript),
> > arrays (better in JScript), COM (some minor issues in JScript), expando
> (non
> > existent in VBScript)].
> >
> > Personally, I use JScript for everything now since I find it a easier
for
> > error handling and syntactically better than VBScript.
> >
> > Chris.
> >
> > "CoolHandSid" <cool@coolhandluke.com> wrote in message
> > news:ubsut9LAEHA.448@TK2MSFTNGP11.phx.gbl...
> > for scripting for the web!!
> >
> > "CoolHandSid" <cool@coolhandluke.com> wrote in message
> > news:eRpGz1LAEHA.2212@TK2MSFTNGP10.phx.gbl...
> > > Which one do you like the most and why?
> > >
> > >
> >
> >
> >
>
>



Re: VBScript Vs. Javascript by Chris

Chris
Wed Mar 03 04:14:19 CST 2004

Yep, and a lot more. If anything, the error handling and arrays are so much
better. VBScript (and VB for that matter) is almost crippled when it comes
to arrays.

VBScript is still popular because of it's familiarity and closeness to
'English' language (that's what VB and VBScript were developed for) but
JScript is syntactically more pure with its statement terminators
(semicolon) and bracketing (curly braces).

For me I also enjoy not having to write two separate scripts for use client
and server side - one size fits all.

If you have any specific examples of stuff that you want to see in JScript
then post and I'm sure either myself or someone else will answer (in the
microsoft.public.scripting.jscript NG of course).

I suppose the only down side of VBScript for 'Windows' scripting is that the
majority of examples thus far (it's getting better) *are* in VBScript
(especially MSDN).but a little time on JScript will enable you to easily
convert them.

Chris.

"CoolHandSid" <cool@coolhandluke.com> wrote in message
news:%23SB8aVMAEHA.3316@TK2MSFTNGP11.phx.gbl...
Thanks for the post!!
I'm new to windows scripting!
All the things that can be done in VBScript can be done by JScript?

Sid.

"Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:udo2uJMAEHA.2180@TK2MSFTNGP09.phx.gbl...
> Oh dear God, not another VBScript vs. JScript request.
>
> Try them and see?
>
> VBScript is 'classic' and pretty good for ASP but in recent times has
begun
> to decline in favour of JScript due to better error handling and the
> possibility of common .js files used for both server-side and client-side
> scripts.
> JScript (or JavaScript) is the *only* language that should ever be used
for
> client side.
>
> That's about it really [apart from the obvious syntactic differences areas
> of functionality that differ such as number formatting (better in
VBScript),
> arrays (better in JScript), COM (some minor issues in JScript), expando
(non
> existent in VBScript)].
>
> Personally, I use JScript for everything now since I find it a easier for
> error handling and syntactically better than VBScript.
>
> Chris.
>
> "CoolHandSid" <cool@coolhandluke.com> wrote in message
> news:ubsut9LAEHA.448@TK2MSFTNGP11.phx.gbl...
> for scripting for the web!!
>
> "CoolHandSid" <cool@coolhandluke.com> wrote in message
> news:eRpGz1LAEHA.2212@TK2MSFTNGP10.phx.gbl...
> > Which one do you like the most and why?
> >
> >
>
>
>