| Rick Smith 2007-01-16, 9:55 pm |
|
"Roger While" <simrw@sim-basis.de> wrote in message
news:eoj0ui$bpd$02$1@news.t-online.com...
> What is supposed to happen if the content of arg-2 does not agree
> with the format in arg-1 ?
> eg.
> arg-1 "hhmmss"
> arg-2 "13:30:01"
ISO/IEC 1989:200x WD 1.6, page 601,
"The rules for a function may place constraints on the
permissible values for arguments in order to permit
meaningful determination of the function's value. If the
evaluation of an argument results in an incorrect value
for that argument according to the rules specified in the
function definition and no exception condition was raised
during item identification or expression evaluation, the
EC-ARGUMENT-FUNCTION exception condition is
set to exist. If an exception condition is raised during item
identification or expression evaluation, that exception
condition is raised, not EC-ARGUMENT-FUNCTION.
If the EC-ARGUMENT-FUNCTION exception condition
is set to exist and checking for EC-ARGUMENT-FUNCTION
is not enabled, the implementor defines the result of the
function reference."
|