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?

Tutorial, but better isnt a bad idea is it?
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Tutorial, but better isnt a bad idea is it? - by DennisMartijn on 10-02-2006 at 01:22 PM
RE: Tutorial, but better isnt a bad idea is it? - by CookieRevised on 10-02-2006 at 01:49 PM
RE: Tutorial, but better isnt a bad idea is it? - by DennisMartijn on 10-02-2006 at 03:18 PM
RE: Tutorial, but better isnt a bad idea is it? - by CookieRevised on 10-02-2006 at 03:35 PM
RE: Tutorial, but better isnt a bad idea is it? - by J-Thread on 10-02-2006 at 05:05 PM
RE: Tutorial, but better isnt a bad idea is it? - by saralk on 10-02-2006 at 05:35 PM
RE: RE: Tutorial, but better isnt a bad idea is it? - by CookieRevised on 10-02-2006 at 05:41 PM
RE: Tutorial, but better isnt a bad idea is it? - by DennisMartijn on 10-05-2006 at 02:59 PM
RE: RE: Tutorial, but better isnt a bad idea is it? - by CookieRevised on 10-07-2006 at 11:24 PM
RE: Tutorial, but better isnt a bad idea is it? - by hmaster on 10-05-2006 at 03:08 PM
RE: Tutorial, but better isnt a bad idea is it? - by DennisMartijn on 10-05-2006 at 03:13 PM
RE: Tutorial, but better isnt a bad idea is it? - by RaceProUK on 10-06-2006 at 10:18 AM
RE: Tutorial, but better isnt a bad idea is it? - by ins4ne on 10-06-2006 at 10:37 AM
RE: Tutorial, but better isnt a bad idea is it? - by Jesus on 10-06-2006 at 12:09 PM
RE: Tutorial, but better isnt a bad idea is it? - by -dt- on 10-06-2006 at 12:29 PM
RE: Tutorial, but better isnt a bad idea is it? - by DennisMartijn on 10-06-2006 at 04:47 PM


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