I can't see any inconsistencies.
please see the attached workbook.
The error is in the code defining the Room Class
proper
I can't see any inconsistencies.
please see the attached workbook.
The error is in the code defining the Room Class
proper
You cannot use Set for a scalar value or array. You use Set for objects and Let for scalar values and arrays. Change Set to Let.
![]()
Public Property Let RoomName(GName As String) Let GName = Name End Property Public Property Let RoomID(GID As Integer) Let GID = ID End Property
Thank you very much for your help. Is there a way for me to hear your music?
please help me understand a confusion that i have had for some time.
topic: "get"
i am trying to think of whether "get" is from the object's internal point of view or the object user's point of view.
I have been visualizing that "Get" is used to provide an object user with a value from an object.
Hence the user "gets" a property from an object.
if an object user wants to give an object a value for a property, I have imagined the object user tells the object
to "set" or "let" the value for a property.
is my understanding correct?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks