Stuart McLachlan
stuart at lexacorp.com.pg
Tue Feb 24 07:26:55 CST 2009
Now we are getting philosophical :-) "If a tree falls in a forest and no one is around to hear it, does it make a sound?" Answer?? "Sound is vibration, transmitted to our senses through the mechanism of the ear, and recognized as sound only at our nerve centers. The falling of the tree or any other disturbance will produce vibration of the air. If there be no ears to hear, there will be no sound." x= myFunction() demonstrably returns an Empty Variant does "Call myFunction()" *return* anything? If so, where to? Cheers, Stuart (aka Bishop Berkely) > Well, it will always return "something", if for nothing else an empty > Variant ... though that is supposed to be slightly less than Nothing - > which hardly is anything - so right you are: No value. > > /gustav > > >>> stuart at lexacorp.com.pg 24-02-2009 11:02 >>> > Good point. I often use an Autoexec macro which calls a Startup() > function which doesn't return a value. > > Stuart > > On 24 Feb 2009 at 10:45, Gustav Brock wrote: > > > The only reason I see to not write a sub when a return value is not > > needed, is if the (sub)function will be used in a macro as these can't > > call subfunctions. > > > > /gustav > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com