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 11: Line 11:
description=This is a fake function for testing & junk.}} |
description=This is a fake function for testing & junk.}} |
}}
}}
<syntaxhighlight lang="c">
{{User:StDoodle/CodeStart_sandbox |
print(i);
title=Code Title |
return bob;
description=This is where I describe what's going on with the code.
}}
print(stuff);
return stuff;
</syntaxhighlight>
</syntaxhighlight>

Revision as of 22:59, 24 February 2010


{{#customtitle:{{{page_name}}}()|{{{page_name}}}()}}

Function Syntax


Code Title

This is where I describe what's going on with the code.

<syntaxhighlight lang="c"> //sample code

print(stuff); return stuff; </syntaxhighlight>