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

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