Shoutbox

"class" Statement - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: "class" Statement (/showthread.php?tid=64324)

"class" Statement by deAd on 08-01-2006 at 03:10 PM

How is this used? There's an MSDN topic about it here but the debugger says there's a syntax error on the first line of code. Nothing has given me a way to do it without errors :S

EDIT: It says you need JScript .NET. What does Plus! use?


RE: "class" Statement by RaceProUK on 08-01-2006 at 03:16 PM

Try here ;)

Edit: Writing classes in JScript is worse than C++ :S


RE: "class" Statement by deAd on 08-01-2006 at 03:30 PM

Oh, I can do it with the prototype stuff, I just wanted to know how to use the Class statement so I could use Implements and Extends and stuff, guess that's not possible then.


RE: "class" Statement by RaceProUK on 08-01-2006 at 03:39 PM

quote:
Originally posted by deAd
Class statement so I could use Implements and Extends
That sounds to me a lot like Java, not JavaScript. But I see it is in JScript 8.

Just remember: Plus! uses JScript 5 :P
RE: "class" Statement by deAd on 08-01-2006 at 03:51 PM

>.> why? :P


RE: "class" Statement by RaceProUK on 08-01-2006 at 04:02 PM

Why does Plus! use JScript 5? Because the Windows Scripting Host uses JScript 5.