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

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 7: Line 7:
 
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.|
codeblock1={{User:StDoodle/Code_sandbox|
+
codeblock1={{User:StDoodle/Code_sandbox|code=
 
int [string] bobracecar;
 
int [string] bobracecar;
 
bobracecar = file_to_map("some_funky_file.txt",bobracecar);
 
bobracecar = file_to_map("some_funky_file.txt",bobracecar);
 
foreach name in bobracecar z print(bobracecar[name]); z}}
 
foreach name in bobracecar z print(bobracecar[name]); z}}
 
}}
 
}}

Revision as of 04:39, 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.