Also available at

Also available at my website and on Twitter @toshafanasiev

Friday 16 April 2010

Visual Basic ( I know, I know ) variable type shortcuts

Over the past few days I've had the undiluted pleasure of working on a legacy VB6 application that nobody else in the company will so much as read through.
During this process I have come across the cryptic hieroglyphs that are variable declaration type shortcuts. For my own reference and for anyone else who may be enduring a similar experience I am posting them here:

Which lets you write Dim i% instead of Dim i As Integer. Lucky you.

Incidentally, date and time literals should be delimited by a pair of # characters.

That is all.