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 1: Line 1:
{{User:StDoodle/FunctionPage_sandbox |
{{User:StDoodle/FunctionPage_sandbox |
page_name=test_function |
page_name=test_function |
function1_return_type= |
function1_return_type= string |
function1_returns_also= |
function1_returns_also= buffer |
function1_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function1_parameter1={{User:StDoodle/Param_sandbox|string|text}} |
function1_parameter1_desc= |
function1_parameter2={{User:StDoodle/Param_sandbox|int|count}} |
function1_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_return_type= string |
function1_parameter2_desc= |
function2_parameter1={{User:StDoodle/Param_sandbox|string|text}} |
function1_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter1_desc= a stupid thing to parse.|
function1_parameter3_desc= |
function2_parameter2={{User:StDoodle/Param_sandbox|int|count}} |
function1_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter2_desc= a funky place to start.|
function1_parameter4_desc= |
function2_parameter3={{User:StDoodle/Param_sandbox|boolean|test}} |
function1_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter3_desc= to see if you want the function to happen. |
function1_parameter4_desc= |
function1_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function1_parameter5_desc= |
function2_return_type= |
function2_returns_also= |
function2_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter1_desc= |
function2_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter2_desc= |
function2_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter3_desc= |
function2_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter4_desc= |
function2_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter4_desc= |
function2_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function2_parameter5_desc= |
function3_return_type= |
function3_returns_also= |
function3_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function3_parameter1_desc= |
function3_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function3_parameter2_desc= |
function3_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function3_parameter3_desc= |
function3_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function3_parameter4_desc= |
function3_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function3_parameter4_desc= |
function3_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function3_parameter5_desc= |
function4_return_type= |
function4_returns_also= |
function4_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function4_parameter1_desc= |
function4_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function4_parameter2_desc= |
function4_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function4_parameter3_desc= |
function4_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function4_parameter4_desc= |
function4_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function4_parameter4_desc= |
function4_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function4_parameter5_desc= |
function5_return_type= |
function5_returns_also= |
function5_parameter1={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function5_parameter1_desc= |
function5_parameter2={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function5_parameter2_desc= |
function5_parameter3={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function5_parameter3_desc= |
function5_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function5_parameter4_desc= |
function5_parameter4={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function5_parameter4_desc= |
function5_parameter5={{User:StDoodle/Param_sandbox|TYPE|SHORTDESC}} |
function5_parameter5_desc= |
code1={{User:StDoodle/Code_sandbox |
code1={{User:StDoodle/Code_sandbox |
title=Impressive Code |
title=Impressive Code |

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

Impressive Code

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

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