User:StDoodle/Test Function sandbox: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{User:StDoodle/FunctionPage_sandbox | | {{User:StDoodle/FunctionPage_sandbox | | ||
page_name=test_function | | page_name=test_function | | ||
function1_return_type= | | function1_return_type= string | | ||
function1_returns_also= | | function1_returns_also= buffer | | ||
function1_parameter1={{User:StDoodle/Param_sandbox| | function1_parameter1={{User:StDoodle/Param_sandbox|string|text}} | | ||
function1_parameter2={{User:StDoodle/Param_sandbox|int|count}} | | |||
function1_parameter2={{User:StDoodle/Param_sandbox| | function2_return_type= string | | ||
function2_parameter1={{User:StDoodle/Param_sandbox|string|text}} | | |||
function2_parameter1_desc= a stupid thing to parse.| | |||
function2_parameter2={{User:StDoodle/Param_sandbox|int|count}} | | |||
function2_parameter2_desc= a funky place to start.| | |||
function2_parameter3={{User:StDoodle/Param_sandbox|boolean|test}} | | |||
function2_parameter3_desc= to see if you want the function to happen. | | |||
function2_return_type= | |||
function2_parameter1={{User:StDoodle/Param_sandbox| | |||
function2_parameter1_desc= | | |||
function2_parameter2={{User:StDoodle/Param_sandbox| | |||
function2_parameter2_desc= | | |||
function2_parameter3={{User:StDoodle/Param_sandbox| | |||
function2_parameter3_desc= | |||
code1={{User:StDoodle/Code_sandbox | | code1={{User:StDoodle/Code_sandbox | | ||
title=Impressive Code | | title=Impressive Code | |
Revision as of 07:26, 25 February 2010
{{#customtitle:test_function()|test_function()}}
Function Syntax
string / buffer test_function(string text, int count)
string test_function(string text, int count, boolean test)
a stupid thing to parse.
a funky place to start.
to see if you want the function to happen.
Impressive Code
The following code is awesome, as you may expect, since I'm awesome.
int noob = 1337;
print("Stuff");
return noob.to_string();