UserErrorNumber関数

指定したユーザーエラーラベルのユーザーエラー番号を返します。

書式
UserErrorNumber (ユーザーエラーラベル)

パラメーター

  • ユーザーエラーラベル: ユーザーエラーラベルを指定する文字列式

参照
UserErrorDef関数, UserErrorLabel$関数

UserErrorNumber関数使用例

Integer i
i = UserErrorNumber("ERR_OUTOFRANGE")