CObj Function

Syntax:

CObj(expr)

Group:

Conversion

Description: 

Converts to an Object. The object contains the value.

Parameters:

Parameter

Description

expr

Convert to an object. If the parameter is already an object, return it.

Example:

Sub Main
  Debug.Print CObj(Sqr(2)) ' 1.4142135381699
End
Sub