A C to Euphoria Question: struct
- Posted by Cox Family <cox.family at SK.SYMPATICO.CA> Nov 11, 1998
- 470 views
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