of     1   

za_pa
#63436917Saturday, February 25, 2012 9:28 PM GMT

I am confused with the explanation they give on the roblox wiki. To be more specific, I am not so clear on what a parameter is. And a statement is something like "brick.Transparency = 1 wait(1) brick.Transparency = 0 " right?
voidCode
#63437119Saturday, February 25, 2012 9:32 PM GMT

There are two types of functions: library functions and custom functions. Library functions are predefined functions that cannot be edited (like string.match or table.concat), and custom functions are function defined by the user. The parameter(s) of a custom function are the arguments, or what is inputted to the function. function thisIsACustomFunction(parameterOne, parameterTwo)     print(parameterOne + parameterTwo) end You call your custom function by reciting its name followed by the arguments you want to replace your original parameters with. thisIsACustomFunction(10, 5) -- prints fifteen to the output { Send me a private message if you have a broken script and I will help you out. }
za_pa
#63447105Sunday, February 26, 2012 12:27 AM GMT

I think I have a pretty clear view now. Thank you for your help!
JulienDethurens
#63447695Sunday, February 26, 2012 12:38 AM GMT

@voidCode The user can make his own libraries... And you forgot about methods...
blueymaddog
#63448100Sunday, February 26, 2012 12:45 AM GMT

there are also anonymous functions, eg: part.Touched:connect(function(hit) --st00f end)
voidCode
#63486219Sunday, February 26, 2012 5:53 PM GMT

@Julien When I said library functions, I think it was pretty obvious that I meant the ones that ROBLOX created and cannot be edited (as I said in my first post). And did he ask about methods? No. Are they a type of function? Yes. But I'm not going to go into detail about them if he didn't ask. { Send me a private message if you have a broken script and I will help you out. }

    of     1