generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » ROBLOX Talk
Home Search
 

Re: I think I found an error in the ROBLOX Wiki Scripting Area.

Previous Thread :: Next Thread 
WowMan2 is not online. WowMan2
Joined: 09 Feb 2009
Total Posts: 20610
03 Jan 2012 10:32 AM
I am learning functions right now on it, and I am on Using Return. I copied the whole example script into a script on RS and I wanted to see what happens before I try learning it. When I clicked Play, this message appears:
'end' expected (to close 'function' at line 1) near 'print'

This is the entire script it gives below. Also, I took out the Output part of it from inserting it into the script.

function add(num1, num2)
print("Finding sum.")
return num1 + num2
print("Sum found")
end

x = Add(5, 2)
print(x)

Output:
Finding sum.
7

Is this an error on the Wiki or is it me?
Report Abuse
lasmore12 is not online. lasmore12
Joined: 17 Apr 2009
Total Posts: 14389
03 Jan 2012 10:32 AM
YOU HAVE CONFUSED AND ANGERED THE LINCOLN!
Report Abuse
sadredas is not online. sadredas
Joined: 18 Dec 2008
Total Posts: 498
03 Jan 2012 10:33 AM
It`syou mai boi. Not that section.
Report Abuse
WowMan2 is not online. WowMan2
Joined: 09 Feb 2009
Total Posts: 20610
03 Jan 2012 10:33 AM
If it is me, than how do I fix it?
Report Abuse
ACertifiedR4p1st is not online. ACertifiedR4p1st
Joined: 28 Dec 2011
Total Posts: 26
03 Jan 2012 10:34 AM
ROBLOX WIKI IS AN ERROR IN ITSELF
Report Abuse
MassiveFumes is not online. MassiveFumes
Joined: 08 Jun 2011
Total Posts: 222
03 Jan 2012 10:34 AM
Maybe error, just you, or you copied it wrong. Idk.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image