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 8: Line 8:
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|
title= Tested Code Block|
description= Below is some faked-up code & jazz.|
code=<nowiki>
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</nowiki>
foreach name in bobracecar z print(bobracecar[name]); z}}
}}
}}
}}

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