Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The semantics of object Let-coercion depend on the source’s value type and the destination’s declared type:
|
Source Value Type |
Destination Declared Type |
Semantics |
|---|---|---|
|
Any class |
Any type |
The result is the simple data value of the object, Let-coerced to the destination declared type. |
|
Nothing |
Any type |
Runtime error 91 (Object variable or With block variable not set) is raised. |
|
Any type except a class or Nothing |
Any class or Object |
Runtime error 424 (Object required) is raised. |