|
-
Feb 2nd, 2018, 05:51 PM
#4
Re: Derive from the generic List class
 Originally Posted by Sitten Spynne
...
"Instantiate" is the fancy word we made up for "create".
So that quote from above seems kind of silly in context:
Note: You can add code to the btnLogin_Click event handler procedure to instantiate the GroceryItem class
It's already instantiated in the module, so I don't know why they want you to do it again.
...
I think you might have misread that, or else I don't know what's going on.
What they instantiated in the module was a GroceryBasket. The quote says you might want to instantiate the GroceryItem class, I presume so you can add items to the basket for testing purposes when you execute the login code. Later, you would remove the preloaded GroceryBasket test code, so the basket would be normally empty when you login.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|