User:StDoodle/Test Function sandbox: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
mNo edit summary
Line 3: Line 3:
returns=string |
returns=string |
returns2=buffer |
returns2=buffer |
parameter1={{param|string|text}} |
parameter1={{User:StDoodle/Param_sandbox|string|text}} |
p1desc=This is what ''text'' does. |
p1desc=This is what ''text'' does. |
parameter2={{param|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.
}}
}}

Revision as of 04:06, 24 February 2010

string / buffer {{{function_name}}}(string text, int count)

Where string text is This is what text does.

This is a fake function for testing & junk.

//sample code
string bob = "This is bob's value";
int i = 5;
print(i);