Link to home
Start Free TrialLog in
Avatar of sanjusambhe
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
Avatar of cookre
cookre
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of SubodhKatiyar
SubodhKatiyar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SubodhKatiyar
SubodhKatiyar

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.