Mar. 24th, 2006

torkell: (Default)

Cross-posted to [livejournal.com profile] boggyb and [livejournal.com profile] name_that_song

Not had one for a while, so here's a selection from my playlist. I'll be nice and limit it to just those that actually have lyrics. I'll also give half a point to anyone who only gets part of the answer, or who doesn't get it but does a good job of convincing me ("erm, it's by whats-her-face, y'know, the one that starts with e, it's on the tip of my tounge...") that they're thinking along the right lines. Comments are screened for now, but will be unscreened at the end. Which is approximately next friday.

Lines now closed, folks!

Warning: playlist on full random )
torkell: (Default)

I have a small snippet of code here, written in Visual Basic 6. Guess what it does:

Dim s As String
s = String(2, "0")
Debug.Print s

I'll give you a hint: it doesn't do what I wanted it to do.

Ok, I'm a fool. That code does what I want it to do. The following code in my program:

RSet s = Hex(1)

most certainly does not do what I wanted it to do, as it appears that RSet will replace leftover characters with spaces. Which kind of negates the whole point of padding the string with zeros in the first place. Grrr.

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 7th, 2026 07:24 pm
Powered by Dreamwidth Studios