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 | | ||
name=test_function | | name=test_function | | ||
}} | |||
{{User:StDoodle/Function_sandbox | | {{User:StDoodle/Function_sandbox | | ||
name= | name={{{name}}} | | ||
returns=string | | returns=string | | ||
returns2=buffer | | returns2=buffer | | ||
Line 9: | Line 9: | ||
p1desc=a fakely required description of junk. | | p1desc=a fakely required description of junk. | | ||
parameter2={{User:StDoodle/Param_sandbox|int|count}} | | parameter2={{User:StDoodle/Param_sandbox|int|count}} | | ||
description=This is a fake function for testing & junk.}} | description=This is a fake function for testing & junk.}} | ||
{{User:StDoodle/Code_sandbox | | {{User:StDoodle/Code_sandbox | | ||
title=Impressive Code | | title=Impressive Code | |
Revision as of 04:16, 25 February 2010
{{#customtitle:{{{page_name}}}()|{{{page_name}}}()}}
Function Syntax
string / buffer {{{function_name}}}(string text, int count)
Where string text is a fakely required description of junk.
This is a fake function for testing & junk.
Impressive Code
The following code is awesome, as you may expect, since I'm awesome.
int noob = 1337;
print("Stuff");
return noob.to_string();
More words.