std-print-errno | ![]() |
Prints a descriptive message for the value of the numeric errno argument or the current value of the internal variable *STD-ERRNO*
which is set by any external stdlib ADS functions after failing.
This is only useful if you catch an error by using VL-CATCH-ALL-APPLY
(AutoCAD 2000 only), check for the error code by looking at the value of *STD-ERRNO*
and print a error warning.
;;; This may call an ADS function and fail there.
;;; vl-catch-all-apply protects from errors
(setq drives (vl-catch-all-apply 'std-get-drive-list)) (if (vl-catch-all-error-p drives) (progn (std-print-errno) (setq drives '("A" "C" "D" "E")) ))
errno: optional. nil or a integer number
undefined
Prints a message to the console.
(std-require "STDLIB-ADS")