Visual what?
Apr. 14th, 2011 04:07 pmI've been given some Visual Basic code to fix. I haven't seen VB in about nine years. I'd forgotten how peculiar it is. I've written
VB6 hasn't been supported since 2008.
GoTo
s where I might otherwise have try/finally
. Of three exported functions, only one is ever used, so for the other two, maintain = delete. It turns out that Not CBool(number)
means number = 0
, and that the apparently useless file load was just to test if the file exists.VB6 hasn't been supported since 2008.