| union | |
| ACTION: |
define a union (C syntax)
|
| USE: |
allows different variables to occupy the same space.
|
| EXAMPLE: |
union utype
{
byte b
short w
long i
}
|
| RESULT: |
v.b=42 : v.w=42 : v.i=42 |
| REMARKS: |
a union may also be nested inside a type. |
| RELATED: |
typedef
type
struct
class
enum
|