TafferX on 14/4/2006 at 00:23
What the hell does this have to do with Enchantermon???:grr:
Get the hell back on topic!
Thief13x on 14/4/2006 at 00:32
<- majoring in Aviation Computer Science
<- can't develop formulas to save my ass
<- GPA: 4.0
:cool:
ZylonBane on 14/4/2006 at 00:44
I suck at math. That's why I like working with computers-- they do the math for me.
Rug Burn Junky on 14/4/2006 at 01:19
Quote Posted by Thief13x
majoring in Aviation Computer Science
can't develop formulas to save my ass
GPA: 4.0
What a ringing endorsement for Florida Tech.
Thief13x on 14/4/2006 at 01:26
Quote Posted by Rug Burn Junky
What a ringing endorsement for Florida Tech.
the catch is i'm a freshman:p nice try though! FIT is a hard school
OnionBob on 14/4/2006 at 01:49
commchat, or how i learned to stop worrying and set up us the bomb
descenterace on 14/4/2006 at 05:57
Quote Posted by RarRar
Heh, ZylonBane is right, damn him to hell.
It all works if you use a 0-based row index, like an array. Row 1 is actually row 0, etc.
...
This is an excellent example of why, when programming, EVERY LIST SHOULD BE ZERO-BASED.
(This message targeted at the numerous BASIC weenies out there who think they can program simply because they wrote a D&D character generator on their ZX Spectrum)
RarRar on 14/4/2006 at 16:26
Quote Posted by descenterace
This is an excellent example of why, when programming, EVERY LIST SHOULD BE ZERO-BASED.
Except for all the damn picket fence errors. You might guess I get a lot of those and you'd be right. Table rows are indexed starting at zero in DOM anyway, and here I was being a sucker adding a one every time I accessed one. I just relax and let it be what it wants to be and everything turns out simple, don't even have to subtract the one and add it back in like my earlier solution. The pattern I was looking at kept me thinking of subtractions and ZB's rant made me go back and look at division again where the answer was all along (because I actually follow ZB's posts quite carefully and know him to be an outstanding programmer, and probably very sweet despite the bluster--If I knew his real name I could maybe find out his phone number and call just to hear his voice. Maybe sometime). Very very simple, , pathetically obvious even, and yes I feel even more stupid. BTW, I do a lot of programming in perl and there's a much despised built in pragma you can set that makes all arrays start at 1. I have always resisted the temptation and now I'm doubly glad.
TBE on 15/4/2006 at 02:51
If I get within inches of a variable, and then say "You know you liked it.", is that considered flirting?
ZylonBane on 15/4/2006 at 03:16
Quote Posted by RarRar
ZB ZB ZB ZB
You know, dvrabel actually provided the formula you needed.