ops, I should have read your first post with more attention :-)
forget the @val representation thing, but the from_base36 method might
still help a bit.

Martin