Difference between revisions of "User:StDoodle/Test Function sandbox"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 10: Line 10:
 
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.}} |
code1title=Impressive Code Title |
+
}}
code1desc=The following code is awesome, as you may expect, since I'm awesome. |
+
{{User:StDoodle/Code_sandbox |
code1code=
+
title=Impressive Code |
 +
description=The following code is awesome, as you may expect, since I'm awesome. |
 +
code=
 +
<syntaxhighlight lang="c">
 
int noob = 1337;
 
int noob = 1337;
 
print("Stuff");
 
print("Stuff");
 
return noob.to_string();
 
return noob.to_string();
 +
</syntaxhighlight>
 
}}
 
}}
 
More words.
 
More words.

Revision as of 04:10, 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();

More words.