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 8: | Line 8: | ||
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.}} | | ||
code1={{User:StDoodle/Code_sandbox | | |||
{{User:StDoodle/Code_sandbox | | |||
title=Impressive Code | | title=Impressive Code | | ||
description=The following code is awesome, as you may expect, since I'm awesome. | | description=The following code is awesome, as you may expect, since I'm awesome. | | ||
Line 20: | Line 17: | ||
print("Stuff"); | print("Stuff"); | ||
return noob.to_string(); | return noob.to_string(); | ||
</syntaxhighlight> | </syntaxhighlight>}} | ||
}} | }} | ||
Revision as of 04:23, 25 February 2010
{{#customtitle:{{{page_name}}}()|{{{page_name}}}()}}
Function Syntax
Impressive Code
The following code is awesome, as you may expect, since I'm awesome.
int noob = 1337;
print("Stuff");
return noob.to_string();