the_gneech: (Keitaro Holy Crap)
[personal profile] the_gneech
So I never did get any databases working; eventually I just gave up on that. I'm sure it will need to be fixed eventually, but I was just grinding my gears and getting frustrated, so once again I used my executive powers as King of the Workaround [1] to slap something awful that works in place, with a note to come back and fix it later.

I saved the tables to comma-delimited TXT files and used the CFFile tag to read those into variables. Then from that variable, I used "#chr(10)#&#chr(13)#" to find the line breaks, looped over the entire file as a list, then for each line I looped over that to find the specific value at any given position. It's an ugly, clunky piece of code that's right out of Fortran or something, but it at least has got me past the "database no worky" issue.

So finally, last night at 10:00 p.m., I was ready to start actually making progress on the actual project. Except the weekend was then over. Le sigh.

The real killer about this is that the whole point of the exercise is to eventually give me practice using C# in .NET ... but I can't be working out the logic and learning syntax at the same time. So I'm writing up the app in ColdFusion first because I can "think" in CF, and then once it's done I'll go back and re-code it in C#.

Why did I become a programmer? I hate programming. :P

Oh yeah. Because cartooning doesn't pay. -.-

-The Gneech

[1] A title I've had for a decade or so, now. If anything, it's my most impressive programming skill.
This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

April 2025

S M T W T F S
  1 2345
6789 101112
13141516171819
20 212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 29th, 2025 09:04 pm
Powered by Dreamwidth Studios