if substr("René Vincent Jansen",6,7,"") \= 'Vincent' then
do errors=errors+1
say 'SUBSTR failed in test 16 '
end
this currently passes the test but should be Error 40.23: SUBSTR argument 4 must be a single character; found "".
(also in error with oorexx; NetRexx does the right thing - throws a NotCharacterException)
please try new substr version with commit: 9a46395085a94ed51793e3c585549c4ca971bdfc.
Drawback: The raise instruction will end the testing script immediately.
this currently passes the test but should be Error 40.23: SUBSTR argument 4 must be a single character; found "". (also in error with oorexx; NetRexx does the right thing - throws a NotCharacterException)