>> Vector[] vec = new Vector[number];
>> for (int i = 0; i < number; i++) {
[quoted text clipped - 9 lines]
> I believe this is a compiler bug.
> Change the body of the for loop to:
Is it documented somewhere? I have bad experience
blaming the failure of my own code on compilers,
users etc... General rule at our office is - "you wrote
it and since hell still isn't very cold, it's probably
something YOU did wrong". Very sound sometimes. :)
> Vector<Integer> tempvec = new Vector<Integer>();
> tempvec.add(new Integer(0));
> vec[i] = tempvec;
Two questions here.
1. Let's say i change the body of the for-loop. What do
i do about the declaration outside of it? Will i have to
use "<?>" anyway?
2. Won't the code you suggested go twice as slow, since
we reserve memory twice for every created object?
> Vector<Integer> vec[i] = new Vector<Integer> ();
> also emits weird error.
Yes, i was wonder - what DOES it mean? I remember an
error message "cannot resolve symbol" which ment "oh,
boy, you f"#!d up big time with instance variables" and
this one seems to be of the same informativeness, hehe.

Signature
Vänligen
Konrad
---------------------------------------------------
Sleep - thing used by ineffective people
as a substitute for coffee
Ambition - a poor excuse for not having
enough sense to be lazy
---------------------------------------------------