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

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
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.