I want to be able to initialize a
CArticle having the following properties:
Private pNumber As String
Private pQuantity As Double
with either empty, pre-defined or current values. How can I achieve this? I’m thinking something along the lines of:
New empty CArticle
pNumber
pQuantity
New dummy CArticle
pNumber
pQuantity = 99999
New init CArticle(number, quantity)
pNumber = number
pQuantity = quantity
It is a pain in the neck but this is the only way to do it.
File CArticle
and in the calling module