Talk:Datatype Constants

From Kolmafia
Jump to navigation Jump to search

Yes, this page should be renamed & such. It's another artifact of the way things were when I started working on the wiki, that unfortunately became a "hub" of sorts without being properly changed. However, since HUNDREDS of pages link here, we really need to be a bit more careful before moving this page. It should probably be done by a mod (to avoid automatic redirect creation) AFTER various prerequisites are taken care of. --StDoodle (#1059825) 04:29, 21 June 2010 (UTC)

  • Thanks for clarification, and sorry about not discussing it first. --PhilmASTErpLus

Ugh. It's worse than I thought; when templates are nested, it takes a while for the "what links here" pages to get updated. I've started the process of transitioning from "Datatype Constantes" to "Data Types," but it may be a while before it's complete. Warning: please leave this project alone, I've got a handle on it & don't want confilcts. Thanks. --StDoodle (#1059825) 04:52, 14 July 2010 (UTC)

Yeah, uh, finger slipped. Oops. (Undone now, don't worry about it.) --Heeheehee 12:09, 22 June 2010 (UTC)

It's all yours. Good luck with it. --Bale 05:17, 14 July 2010 (UTC)


Call by value or call by reference?

I actually wrote a simple script to see how it works. Apparently all the primitive data types are called by value when passed to a function, whereas maps and records are called by reference (with smart garbage collection!). I presume this is the same for substitution(=), and that buffers are called by reference, though I haven't tried either. Could someone high up there please verify this information before I add it? --PhilmASTErpLus 07:14, 23 June 2010 (UTC)