[A83] Re: Structs in asm
[Prev][Next][Index][Thread]
[A83] Re: Structs in asm
At 04:24 PM 3/18/01 -0700, you wrote:
>
>And structs would be....? Structures? Wha-?
In C(++) and most other languages, you can declare a data type of your own:
struct dude
{
string name
int health
char level
int mana
};
and then access like
dude Bob;
Bob.name="bob";
bob.health=100;
C++ allows you to go further with the Class system ,where you can build
data handling subroutines into the structure. It sounds like areal pain to
build in ASM, unless you built a compiler. That'd be SWEET.
Follow-Ups:
References: