On a side note, you can do this:
Code:
enum my_struct
{
Float:my_float,
Handle:my_handle,
bool:my_boolean,
my_string[32]
};
No type casting necessary then.
One problem here though is that my_float, my_handle, my_boolean and my_string are now defined globally, even though they are contained in an enumerator. Silly as it may seem, you cannot now use new Float:my_float etc in a procedure.
Stu