The behaviour has to be platform-specific, perhaps even version
specific, and I wouldn't trust code that re-dims in a subroutine. With
that, I won't guess what it does today because it could be different
on a lot of systems here, and different in the next release. I don't
mean to evade the challenge but sometimes you can marvel at what
happens when you press a weird button, and other times it's best
simply to not press weird buttons.

My preference at what it should do, not what it does: throw a runtime


> From: Wjhonson 
> I'm on Universe 10.2.3 in Information flavor and was surprised by
> something.
> Admittedly I don't think I've actually come across this before, but
> seems like whoever wrote this, didn't understand how the system
> used it either.
> If you dimensioned an array and then call a subroutine passing that
> And then in the MYSUB routine, you Dimension that same variable
> name again, but to a different size, what do you expect the Runtime
> Engine would do?
> A) It would redim the array to the new size
> B) It would complain and throw a fit
> C) It would ignore my new dimension command as if it weren't there
> all

U2-Users mailing list

Reply via email to