UserErrorLabel$函數

用於傳回指定的使用者錯誤編號的使用者錯誤標籤。

格式
UserErrorLabel$ (使用者錯誤編號)

參數

  • 使用者錯誤編號:表示使用者錯誤編號的整數值

傳回值
用於傳回包括標籤的字串。

參照

UserErrorDef函數、UserErrorNumber函數

UserErrorLabel$函數範例

Integer i
For i = 8950 To 8999
   Print "Input ", i, ": ", UserErrorLabel$(i)
Next i