Handbook
Glossary
year<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
year<<
( value object -- )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
dbf
math
;
M:
dbf-file-header
year<<
T{
struct-slot-spec
{
name
"year"
}
{
offset 1
}
{
class
fixnum
}
{
initial 0
}
{
type
uint8_t
}
}
write-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
duckdb.ffi
math
;
M:
duckdb_date_struct
year<<
T{
struct-slot-spec
{
name
"year"
}
{
offset 0
}
{
class
fixnum
}
{
initial 0
}
{
type
int32_t
}
}
write-struct-slot
;
inline
USING:
accessors
calendar
kernel
math
slots
slots.private
;
M:
duration
year<<
[
dup
real?
[
\
real
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline
USING:
accessors
hamurabi.private
slots.private
;
M:
game
year<<
2
set-slot
;
inline
USING:
accessors
id3.private
slots.private
;
M:
id3
year<<
7
set-slot
;
inline
USING:
accessors
slots.private
zoneinfo
;
M:
raw-leap
year<<
2
set-slot
;
inline
USING:
accessors
ftp.client.listing-parser
slots.private
;
M:
remote-file
year<<
11
set-slot
;
inline
USING:
accessors
calendar
kernel
math
slots
slots.private
;
M:
timestamp
year<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
unix.time
;
M:
tm
year<<
T{
struct-slot-spec
{
name
"year"
}
{
offset 20
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
write-struct-slot
;
inline
USING:
accessors
slots.private
taxes.usa.w4
;
M:
w4
year<<
2
set-slot
;
inline