The use of an **array** is very restricted since its length has to be known at 
compile time. On the other hand, the flexibility of a **seq** which can change 
its length during its lifetime and which can even be reallocated at lifetime, 
is not necessary in many cases.

Many applications read the _dimensions_ of a problem at runtime, but then 
_arrays_ have fixed sized after their definition. It's posiible in C++ like
    
    
    int getdimension();
    ...
    int N = getdimension();
    double A[N];
    
    
    Run

What to do in Nim in that case? 

Reply via email to