sanjusambhe
asked on
Difference Between LET and SET Properties
Set properties can take object as parameter value.But Let can also take variant which can accept object.So what is differnce in LET and SET
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and using variants is an expensive operation you are passing in vt the type of object you want to use and it is dereferenced from there,why would some one pass a pointer inside a variant which would then be reread and vb will find the type o object it has and later on every processing is done using the same route of reading discovering and executing,where as you have one direct way of doing the same.
its like there is if then endif and iif also
different purpose different things.
regards.
its like there is if then endif and iif also
different purpose different things.
regards.
http://www.janus-software.com/doc/Phx02166.htm