Our 2014 Christmas Contests have begun! Check the Bulbagarden Forums to find out how you could win 1 of 30 copies of ORAS!
Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

User talk:TTEchidna/Archive

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

That's a really interesting bit of code there... I'm talking of course about the PAGESIZE code. I've been staring at it for a bit, but I still can't quite see how you can tell it which size to change the message at... the #ifexpr coding is the variable, then I suppose it looks at whatever number is in the parenthesis and compares it to the < 50 you have right after? That seems to be it, but I don't see what the div 1024 is for then. Variables never were my strong point. I'd really like to know how this works, though. Especially the PAGESIZE command, which is simple enough to figure out, but I'm curious about the "R" variable in that one... -- Jïörüjï Ðērākō.>.cнаt^ 16:19, 26 September 2008 (UTC)

The R variable makes it so there's no comma. Otherwise it'd screw up the math. And the div 1024 is because there's 1024 bytes in a kilobyte. TTEchidna 06:14, 5 October 2008 (UTC)
Hmm, that makes sense now. And it seems you did know what I was talking about when I mentioned a progress bar; I'd ask how that coding works, but I don't think you're in the mood to explain every single piece of that one. :D Perhaps I'll "borrow" it at some point and fiddle around, see if I can work it out on my own. (I'll probably just copy the basics of the coding - once I figure out which parts are the basics - and modify it from there.) -- Jïörüjï Ðērākō.>.cнаt^ 21:40, 5 October 2008 (UTC)

Ow

Looking at the coding makes me want to shoot myself in the face. Porygon-Z 05:13, 5 October 2008 (UTC)

Yeah me too. TTEchidna 06:14, 5 October 2008 (UTC)