What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Tutorial, but better isnt a bad idea is it?

Pages: (2): « First « 1 [ 2 ] Last »
Tutorial, but better isnt a bad idea is it?
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Tutorial, but better isnt a bad idea is it?
quote:
Originally posted by J-Thread
It differs from JScript
Only insofar as JScript is an extended version of JavaScript.
All JavaScript is valid JScript, but not always the other way around.

And before anyone starts on with 'document.all' and stuff, that's not a JavaScript/JScript difference: that's a W3C/Microsoft DOM difference.
[Image: spartaafk.png]
10-06-2006 10:18 AM
Profile PM Web Find Quote Report
ins4ne
Veteran Member
*****

Avatar
...

Posts: 1015
Reputation: 38
36 / Male / Flag
Joined: Apr 2006
Status: Away
RE: Tutorial, but better isnt a bad idea is it?
quote:
Originally posted by J-Thread
"javascript for dummies"
isnt there such a thing as e-book anywhere?
[Image: b5c5bb366c94ba43283cc13901380e3e.png]
10-06-2006 10:37 AM
Profile PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: Tutorial, but better isnt a bad idea is it?
May I suggest This javascript tutorial, it helped me to get started.
10-06-2006 12:09 PM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Tutorial, but better isnt a bad idea is it?
quote:
Originally posted by RaceProUK
quote:
Originally posted by J-Thread
It differs from JScript
Only insofar as JScript is an extended version of JavaScript.
All JavaScript is valid JScript, but not always the other way around.

And before anyone starts on with 'document.all' and stuff, that's not a JavaScript/JScript difference: that's a W3C/Microsoft DOM difference.
err no jscript isnt an extended version of javascript.. its a child of ecmascript and so is javascript, nearly all of javascript 1.5 is compatible with jscript though.
newer versions of javascript have things which arent compatible like
javascript 1.6 introduces e4x (basicly native xml handleing in javascript) and some more array methods
javascript 1.7 introduces interators , generators , let expressions and destructuring stuff.

This post was edited on 10-06-2006 at 12:30 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
10-06-2006 12:29 PM
Profile PM Web Find Quote Report
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. RE: Tutorial, but better isnt a bad idea is it?
heey... Jesus's (hehe lol name) found tutorial site is pretty good, since its shows the output of a code... cool:P
10-06-2006 04:47 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Tutorial, but better isnt a bad idea is it?
quote:
Originally posted by DennisMartijn
Btw, if you leeve the code this way:
code:
OnEvent_ContactSignin(
    [string] Email
);
, then the event you want to happen happens when anybody of your contact list is signing in? cuz its a variable?
as said before yes... But you have one important thing wrong in there:
code:
OnEvent_ContactSignin(
    [string] Email
);
is not programming code!!! It is a syntax description. It may look like code but it really isn't. It just described the function.

It is the same as a phonetic description of a word. The description itself is not the word, it is a desription of the word.

So although the next reply will work in practice (most of the time):
quote:
Originally posted by hmaster
Correct. But you have to remove "[string]".

Example:
code:
function OnEvent_ContactSignin(Email) {
Debug.trace("The contact " + Email + " has signed in");
}

it does not teach the correct thing...


just wanted to clarify that... ;)






---------------------

quote:
Originally posted by -dt-
quote:
Originally posted by RaceProUK
quote:
Originally posted by J-Thread
It differs from JScript
Only insofar as JScript is an extended version of JavaScript.
All JavaScript is valid JScript, but not always the other way around.

And before anyone starts on with 'document.all' and stuff, that's not a JavaScript/JScript difference: that's a W3C/Microsoft DOM difference.
err no jscript isnt an extended version of javascript.. its a child of ecmascript and so is javascript, nearly all of javascript 1.5 is compatible with jscript though.
newer versions of javascript have things which arent compatible like
javascript 1.6 introduces e4x (basicly native xml handleing in javascript) and some more array methods
javascript 1.7 introduces interators , generators , let expressions and destructuring stuff.

absolutely, hence why one should be carefull in basing stuff on JavaScript when writing or learning JScript. It is indeed not the same as Jscript, nor is it derived from it, nor is it an extended version (and vice versa)...

Many stuff is the same, but not all (and that is excluding DOM differences)

This post was edited on 10-07-2006 at 11:28 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-07-2006 11:24 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On