Here is a draft of the planned documentation of the Package's new options
method:
Method „Options“
This method allows for getting at the currently set package options, which
can be explicitly set
using the ::options directive.
Sending the options message without an argument will return a string encoded
as an ::options
directive denoting all the current settings of the package, e.g., ”::OPTIONS
DIGITS 9 FORM
SCIENTIFIC FUZZ 0 ERROR CONDITION FAILURE CONDITION LOSTDIGITS CONDITION
NOSTRING CONDITION
NOTREADY CONDITION NOVALUE CONDITION PROLOG TRACE NORMAL“
Sending the message options with one argument, the option argument, will
return the current
setting for that particular option. If a second argument is supplied, then
the option will get
set to that value, and the previous value is returned.
The following table lists the option names and the values they accept:
*Option*
*Value*
Digits
9 (a whole positive number)
FUzz
0 (a whole number, must be smaller than digits)
FOrm
Scientific, Engineering
/Conditions:/
All (only for setting all conditions at the same time)
Condition, Syntax
Error
Condition, Syntax
FAilure
Condition, Syntax
Lostdigits
Condition, Syntax
NOString
Condition, Syntax
NOTready
Condition, Syntax
NOValue
Condition, Syntax
Prolog
Prolog, Noprolog
Trace
All, Commands, Error, Failure, Intermediates, Labels, Normal, Off, Results
Not being a native English speaker, any suggestions to improve the text are
highly appreciated!
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel