19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

378 <strong>Computer</strong> <strong>Programming</strong> <strong>Concepts</strong> <strong>and</strong> <strong>Visual</strong> <strong>Basic</strong><br />

Public Property Let Suit(ByVal vSuit As String)<br />

m_Suit = vSuit<br />

End Property<br />

Public Property Get Denomination() As String<br />

Denomination = m_Denomination<br />

End Property<br />

Public Property Get Suit() As String<br />

Suit = m_Suit<br />

End Property<br />

Public Function IdentifyCard() As String<br />

Dim Denom As String<br />

Select Case Val(m_Denomination)<br />

Case 1<br />

Denom = “Ace”<br />

Case Is

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!