6.1.2.3.1.10 CLngPtr

Function Declaration

 Function CLngPtr(Expression As Variant) As LongPtr 

Parameter

Description

Expression

Any data value (section 2.1).

 

Runtime Semantics.

§ If the value of Expression is an Error (section 2.1) data value then return the LongPtr data value that is the result of the Long error code (section 2.1) of the Error data value being Let-coerced to LongPtr.

§ If the value of Expression is not an Error data value, then return the LongPtr data value that is the result of Expression being Let-coerced to LongPtr.