Re: Dynamic matrix in Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Allen.

You can create empty sequences (seq={}) and use the command append to 
enlarge you matrix to any dimesion.
seq=append(seq,data)

Rubens

At 08:48 20/5/2004, you wrote:
>
>Given a series of sets containing a variable number of items (say n 
>items), is it possible to have Euphoria define a square matrix 
>dynamically, n by n, assigning the nth row and the nth column to the nth 
>item of the current set, or would it be necessary to define the matrix in 
>advance, hoping that the chosen value of n would be large enough to 
>accommodate all possible cases?
>
>Allen
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu