What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Syntax errors in MSDN material?

Syntax errors in MSDN material?
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. Syntax errors in MSDN material?
Hi there,

In an MSDN article, I got the following code:

code:
// Article
// This is using function in Syntax 1.
function addSquares(x : double, y : double) : double {
   return(x*x + y*y);
}

The debugger, however, states ")" is expected (probably in the param list).

Any ideas why?

This post was edited on 11-17-2008 at 02:02 PM by SmokingCookie.
11-17-2008 02:02 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Syntax errors in MSDN material? - by SmokingCookie on 11-17-2008 at 02:02 PM
RE: Syntax errors in MSDN material? - by Eljay on 11-17-2008 at 02:07 PM
RE: Syntax errors in MSDN material? - by SmokingCookie on 11-17-2008 at 02:11 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