Scrolling Horror

This topic is 1716 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

if (( 2 * 6) == 12) // Checking if 2 * 6 actually is 12. No one can be sure enough.
{
return;
}
:P

Share on other sites
(2 * 6) - 12


I don't know what's worst, it doesn't look all correct, but does nothing ...so did the code work?

Share on other sites

Basically it'd let the scroll index go as far as the last entry, but since that's what's at the beginning of the scroll (when you'd want the last entry at the end), this would result in the scroll going far beyond its limit. The calculation was supposed to compensate to get the correct limit, but obviously that's not what happened =P

At least if I'm understanding right.