can function results be objects?:confused:
Printable View
can function results be objects?:confused:
Yes
Quote:
Originally posted by Patoooey
Yes i thought they were variables. do you consider everything in vb an object?
I don't know VB well enough to get into any epic discussion about objects or such.
I consider anything "built-in" VB (Integer,Long,String, etc) to be a variable. Everything else (RecordSets, MAPIFolders,Word documents) are objects.
So far, from my expierence, anything you can declare can be returned from a function.