User:StDoodle/Test Function sandbox

From Kolmafia
< User:StDoodle
Revision as of 07:52, 25 February 2010 by imported>StDoodle
Jump to navigation Jump to search


{{#customtitle:test_function()|test_function()}}

Function Syntax

string / buffer test_function(string text, int count)

string test_function(string text, int count, boolean test)

Where text is a stupid thing to parse.
Where count is a funky place to start.
Where test is 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();