A C to Euphoria Question: struct

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

Dear Euphorians,

I saw an interesting piece of code the other day in
C, and was wondering how one would do the same thing
in Euphoria. (I think Qbasic has something like it too
with TYPE) Here's the code :


struct {
 int x, y;
 char Direction;
 char MovePixels;
 char CurrFrame;
 char NumFrames;
 char FrameRate;
 char FrameCount;
 unsigned char *data[20];
} MainChar;


I think that's about it. (just a small bit of C -- don't want to be
a burden or anything) I haven't seen anything looking like :
"MainChar.Direction = ...." in Euphoria before. If anyone could clear
this up for me, it would be much appreciated. Thank you very much.


Chris Cox
cox.family at sk.sympatico.ca

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

Search



Quick Links

User menu

Not signed in.

Misc Menu