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 » Game Creation and Development » Scripters
Home Search
 

Re: Making your own parameters?

Previous Thread :: Next Thread 
WAATERMELON is not online. WAATERMELON
Joined: 03 Jul 2014
Total Posts: 921
07 Jan 2015 04:27 AM
[ Content Deleted ]
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
07 Jan 2015 04:41 AM
A parameter is just a value/object passed into a function

function CallThisAFunction(a, b)
print(a, b)
end

CallThisAFunction("Hello", "World")

When this is called, a="Hello", and b="World"
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
07 Jan 2015 04:55 AM
Parameters are declaring variables to be passed to a function when it is called
Arguments are when they are passed to the function ^^
Report Abuse
udayk8139 is not online. udayk8139
Joined: 25 Aug 2013
Total Posts: 622
07 Jan 2015 07:18 AM
We use parameters to get something with an 'x' value(unknown). I am still trying to practice more functions with parameters. #Practicemakesmanperfect :)
Report Abuse
warriorqaz is not online. warriorqaz
Joined: 09 Oct 2009
Total Posts: 726
07 Jan 2015 08:04 AM
Ex:

function PrintThis(value)
print(value)
end

PrintThis("Hello!")

When the it is called, the "Hello!" become the value. And then it prints the value AKA the "Hello!"
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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