impliciting indexing doesn't cross list/string boundaries
Posted: Sun Aug 09, 2015 10:16 pm
I have this:
Using version 10.6.2
I expected this to work:(set 'foo '("#foo" "bar" "baz" "some text"))
Instead it returned "#foo". A bit surprising. I know that (foo 0) works as a list index; is newlisp supposed to ignore bogus indexes afterward? Either newlisp should cross the list/string boundary and let the index apply to the string or array equally with the list, or return an error, no?(foo 0 0) => "#"
Using version 10.6.2