Administrator
|
I can't find any place that describes the expected behavior under these conditions, but the StringTest program creates a zero-length string (even though I can't find any place other than here that says that zero-length strings have to be supported -- but I might easily have missed it).
As near as I can tell, the built-in Array.new() function invokes some very strange behavior.
If the behavior of these two functions is not defined, then it should be so indicated in the specifications for the OS functions.
|