Posts Tagged ‘coding’

Dinner and ‘lancing

Sunday, June 28th, 2009

Wednesday I headed over to my parents for dinner for what I thought would be a relatively easy eveningf with plenty of time to sort out my room when I got back home.

As is turns out the NHS had just dumped a load of work suddenly on my previous job, Open Door Design so I ended up heading over there to give Nick a hand ith it. It was relatively simple stuff to take care of though it was going on 10 when I left there so by the time I got home I didn’t have much time to sort my room out. I have since thankfully so I’m no longer living in a cave of boxes which is nice.

ASP dictionary fun

Thursday, May 7th, 2009

ASP has a lot of “interesting” features shall we say. I’ve just been working with the dictionary object which is basically an array with named items, so everything has a key and value pair.

There is a method to add elements to it which accepts variables instead of literal text strings (as you would expect of course) but it doesn’t seem to accept variables in array.

For example, this will not work…

totals.Add RSTdata(“id”), 10
Response.Write(totals(RSTdata(“id”)))

However this will work just fine…

idNumber = RSTdata(“id”)
totals.Add idNumber, 10
Response.Write(totals(idNumber))

This isn’t quite as cool as the way ASP decides the forget about some variables but only after you’ve referenced them for the first time creating a rather nice heisenbug when you put in a few print lines but never the less interesting.

More job based commentary

Tuesday, June 17th, 2008

It’s week two of my job at Open Door Design and it’s coming along nicely. I’ve been working around with one of their previous big sites which I’ve really been able to get my teeth into and rip apart. It’s everything you expect when you get into the real world, I’ll leave you to fill in what that means :D .