User talk:Icon315

From Kolmafia
Revision as of 05:00, 17 April 2010 by imported>StDoodle (→‎Reserved Words)
Jump to navigation Jump to search

Re: Needs Code Sample and stuff

Bear in mind that pages that fall under Category:Needs Code Sample may either need a sample or need an improved sample (i.e. for the sake of clarification or utility). --Heeheehee 05:19, 9 April 2010 (UTC)


Oops! Originally added my response to your main page instead of your talk page. Wish I'd gone here; heeheehee's response is what I came up with to the code sample issue after checking every one of those pages. Doh!

Edit for clarity on what heeheehee mentioned above: I saw a total of two pages in the category that need improved code, rather than any code at all. Both are "holdovers" from before my formatting blitz. The code was there, so why not reuse it? However, it was a bit outdated and / or unclear, hence the request for improvement.

However, I am behind the idea of adding info somewhere on the site regarding the notepad++ styles. Just not sure where the best place would be, yet. Will probably get a hold of Bale on this, as it's kind of his "baby" anyway, and he's good with the wiki.

--StDoodle (#1059825) 14:53, 9 April 2010 (UTC)

Icon315;

I appreciate your efforts to contribute. Please, however, take a look at Template:CodeSample for some do's-and-don't on adding code samples to pages. Please also keep in mind that due to certain wiki limitations, really long lines break formatting.

Thanks, --StDoodle (#1059825) 00:33, 11 April 2010 (UTC)


Sorry I realized what i did once I saved it, but I left before saving my edited version--Icon315 03:55, 12 April 2010 (UTC)

Re: Code Sample page

Ha! I never noticed that one before. It was an "orphan" page (nothing linked to it). I guess I wasn't the first to have the idea... but that page hadn't been touched since 2007! It's gone now, to avoid confusion.--StDoodle (#1059825) 21:42, 12 April 2010 (UTC)

Reserved Words

Well here are the "reserved" words, I'm not sure where to put them, so i will put them here.

Contributing to the KoLmafia Project

Reserved Words

//CONSTANTS

  • "true"
  • "false"


// Operators

  • "contains"
  • "remove"
  • "new"

// Control flow

  • "if"
  • "else"
  • "foreach"
  • "in"
  • "for"
  • "from"
  • "upto"
  • "downto"
  • "by"
  • "while"
  • "repeat"
  • "until"
  • "break"
  • "continue"
  • "return"
  • "exit"
  • "switch"
  • "case"
  • "default"

// Data types

  • "void"
  • "boolean"
  • "int"
  • "float"
  • "string"
  • "buffer"
  • "matcher"
  • "aggregate"
  • "item"
  • "location"
  • "class"
  • "stat"
  • "skill"
  • "effect"
  • "familiar"
  • "slot"
  • "monster"
  • "element"
  • "record"
  • "typedef"

Now with it's own shiny new page, mostly copy-pasta'd. Thanks for getting the list together. --StDoodle (#1059825) 05:00, 17 April 2010 (UTC)