Handbook
Glossary
vel<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
vel<<
( value object -- )
Methods
USING:
accessors
pong
slots.private
;
M:
ball
vel<<
3
set-slot
;
inline
USING:
accessors
arrays
boids.simulation
kernel
slots
slots.private
;
M:
boid
vel<<
[
dup
array?
[
\
array
bad-slot-value
]
unless
]
dip
3
set-slot
;
inline
USING:
accessors
bubble-chamber
slots.private
;
M:
particle
vel<<
4
set-slot
;
inline