There is a minor bug in substring when the end index is not an
integer. The error message prints out the value of the start index.
The fix is simple. In STk_substring in str.c, change
if ((to=STk_integer_value(end)) == LONG_MIN) Err(msg ,start);
to
if ((to=STk_integer_value(end)) == LONG_MIN) Err(msg ,end);
Error messages will then point what really is wrong!
Ray
Received on Wed Mar 06 1996 - 17:21:56 CET
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST