mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
improve calc error code system
Changed calc_errno a global int variable so that is may be directly accessed by libcalc users. Further improve help files for help/errno, help/error, help/newerror, help/stoponerror and help/strerror by adding to documentation of the calc error code system as well as libcalc interface where applicable.
This commit is contained in:
@@ -22,6 +22,9 @@ DESCRIPTION
|
||||
stoponerror value. When 1 argument is given, stoponerror() returns
|
||||
the previous stoponerror value.
|
||||
|
||||
See help errcount for information on the current error count.
|
||||
See help errmax for the maximum error-count before execution stops.
|
||||
|
||||
EXAMPLE
|
||||
; stoponerror()
|
||||
0
|
||||
@@ -35,7 +38,7 @@ LINK LIBRARY
|
||||
SEE ALSO
|
||||
errcount, errmax, errorcodes, iserror, errno, strerror, newerror
|
||||
|
||||
## Copyright (C) 2006,2021 Landon Curt Noll
|
||||
## Copyright (C) 2006,2021,2023 Landon Curt Noll
|
||||
##
|
||||
## Calc is open software; you can redistribute it and/or modify it under
|
||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||
|
Reference in New Issue
Block a user