What is an object??
What is an object??
We don't do homework.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Thanks, but what is an object?
http://en.wikipedia.org/wiki/Object-...ed_programming - Everything you'll want to know
Object A particular instance of a class. The class of Dog defines all possible dogs by listing the characteristics and behaviors they can have; the object Lassie is one particular dog, with particular versions of the characteristics. A Dog has fur; Lassie has brown-and-white fur. In programmer jargon, the object Lassie is an instance of the Dog class. The set of values of the attributes of a particular object is called its state.The object consists of state and the behaviour that's defined in the object's class.
Matt
Thanks, but what is an object?
If you're not interested in reading what an object is (defined quite explicitly and quite well on that page, as well as right above your response to me), you may want to take a class.
Matt
Since this is so general, here is the dictionary's definition. This should be all you need based on your general question:Originally Posted by aja
Oh, and to mark this thread solved, click on Thread Tools --> Mark Thread SolvedOriginally Posted by dictionary.com
New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.
It's what I do when someone keeps asking dumb questions.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
I should request to have that definition added to dictionary.com's definition of object.Originally Posted by xld
New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.
I guess I'll never know. Thanks anyway.
Not with that attitude.Originally Posted by aja
Thanks for asking, though.
New to the forum? Check out our Introductions section to get to know some of the members here. Feel free to tell us a little about yourself as well.
aja,
Though part of me thinks you may be acting stubborn for stubborns sake, if you are in fact being serious I would like to help. However you'll need to say more than just the same line over and over again.
What is it about my first post (#4 above - Link) that does not explain it for you? If you say something like "Well I understand that ___ but I just dont understand ____" we can help; however we simply cannot just inject our knowledge into your mind. We don't know what you already know and what you're having trouble grasping.
Matt
Thanks. Basically the main problem I have is to do with the explanation of an object. What is it and what does it do?
All of this is explained (much better than I can explain) at the wikipedia link above. But perhaps you have an aversion to wikipedia. If you don't, I strongly urge you to read it, because it gives great examples.
An object is the individual run-time unit that is used as the basic building block of programs. An object is an instantiation (instance) of a class. A class is only a blueprint offering a defined functionality. That functionality is actually implemented by creating an instance of that class, in form of an object. Each object is capable of receiving messages, processing data, and sending messages to other objects. Each object can be viewed as an independent little machine or actor with a distinct role or responsibility.
In object-oriented programming (OOP), an instance of a program (i.e. a program running in a computer) is treated as a dynamic set of interacting objects. Objects in OOP extend the more general notion of objects described above to include a very specific kind of typing, which among other things allows for:
1. data members that represent the data associated with the object.
2. methods that access the data members in predefined ways.
In the case of most objects, one can access the data members only through the method members, making it easy to guarantee that the data will always remain in a well-defined state. In almost all object oriented programming languages, a dot(.) operator is used to call a particular method/function of an object, which holds true for VBA as well.
Matt
So there are many various states and attributes that can make up a particular being. These beings managed by the programmers own wisdom and mind within the program. With this in mind, what is an object?
With that in mind, an object would be the Particular Being (of class Being).
Matt
So in Back to the future, the delorean, the flux capacitor, the engine, the wheels etc...What is the object?
LOL
Back to the future - project
Delorean - collection of objects
flux capacitor - object of class TimeTravelDevice
engine - object of class BoxerMotor
wheels - object of class Travel
Matt
Thanks Matt. But I fail to see the connection between Deloreans and VBA?
There doesnt have to be one, vehicles and movies can be object oriented. Or in this case Fox oriented
Matt