Sequences?

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

Hello all,

In Euphoria everyone knows how sequences are formed

sequence seq
seq = {data1, data2, data3}

Now in C suppose an "array" is missing size value or,
has an (incomplete type)
i.e: int seq[]

/* if you create a struct named sequence
struct sequence;

/* and define the struct
typedef struct sequence seq;

/* later call to struct to fill sequence
struct sequence {
                          double data1, data2, data3
                         };

/* now seq should be
seq = {data1, data2, data3} -- same as Euphoria

AM I RIGHT?

I have absolutely none what-so-ever Knowledge
of C/C++ just reading up on the language
to help put into perspective the Eu 2 C translator...

euman at bellsouth.net

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

Search



Quick Links

User menu

Not signed in.

Misc Menu