Handbook
Glossary
dbf-field-header
Vocabulary
dbf
Definition
USING:
alien.c-types
classes.struct
;
IN:
dbf
STRUCT:
dbf-field-header
{
name uint8_t[11]
}
{
type
uint8_t
initial:
0
}
{
address
uint32_t
initial:
0
}
{
length
uint8_t
initial:
0
}
{
#decimals
uint8_t
initial:
0
}
{
reserved1
uint16_t
initial:
0
}
{
workarea-id
uint8_t
initial:
0
}
{
reserved2
uint8_t
initial:
0
}
{
reserved3
uint8_t
initial:
0
}
{
set-fields-flag
uint8_t
initial:
0
}
{
reserved4 uint8_t[7]
}
{
index-field-flag
uint8_t
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
dbf
kernel
;
M:
dbf-field-header
clone
clone-underlying
\
dbf-field-header
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
dbf
;
M:
dbf-field-header
struct-slot-values
{
[
name>>
]
[
type>>
]
[
address>>
]
[
length>>
]
[
#decimals>>
]
[
reserved1>>
]
[
workarea-id>>
]
[
reserved2>>
]
[
reserved3>>
]
[
set-fields-flag>>
]
[
reserved4>>
]
[
index-field-flag>>
]
}
cleave>array
;
inline