Repetition and Conditional4.207 Tutorials and Sampleswrite requests to: takehiko@mit.edu last revised : 2/5/01 LISPLOADER© Set Up |
![]() |
(c:demo)
(dome_row_while xpos ypos xwidth ywidth number_of_horizontal_bays)
WHILE
(dome_row_while 0 0 2 3 4 )
(dome_row_repeat xpos ypos xwidth ywidth number_of_horizontal_bays)
REPEAT
(dome_row_repeat 0 0 2 3 4 )
(dome_matrix xpos ypos xwidth ywidth number_of_horizontal_bays number_of_vertical_bays)
(dome_matrix 0 0 2 3 3 2 )
(alternate_bays xpos ypos xwidth ywidth number_of_horizontal_bays)
if
(alternate_bays 0 0 2 3 5 )
(cornered_matrix xpos ypos xwidth ywidth number_of_horizontal_bays number_of_vertical_bays)
(cornered_matrix 0 0 2 3 3 3 )