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

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 12: Line 12:
 
function2_parameter3={{User:StDoodle/Param_sandbox|boolean|test}} |
 
function2_parameter3={{User:StDoodle/Param_sandbox|boolean|test}} |
 
function2_parameter3_desc= to see if you want the function to happen. |
 
function2_parameter3_desc= to see if you want the function to happen. |
 +
function_description=This function does stuff.</p><p>And even more stuff (sometimes). |
 
code1={{User:StDoodle/Code_sandbox |
 
code1={{User:StDoodle/Code_sandbox |
 
title=Impressive Code |
 
title=Impressive Code |

Revision as of 07:48, 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.

This function does stuff.

And even more stuff (sometimes).

Impressive Code

The following code is awesome, as you may expect, since I'm awesome.

int noob = 1337;
print("Stuff");
return noob.to_string();