[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Create an error-typed variant
Source position: variants.pp line 113
function VarAsError( |
AResult: HRESULT |
):Variant; |
AResult |
|
Error code to store in the variant/ |
The new error-typed variant
VarAsError creates an error-typed variant with value aResult.
None.
|
Create an error variant with value VAR_PARAMNOTFOUND |
|
|
Check if the variant has type varError |