DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

CBool Function In Vb.net

03.25.2012
| 1505 views |
  • submit to reddit
        CBool function in vb.net

Dim a, b, c As Integer
Dim chk As Boolean
a = 2
b = 2
chk = CBool(a = b)
c = 0
chk = CBool(c)