18 lines
372 B
Plaintext
18 lines
372 B
Plaintext
set myFoods to be an empty list
|
|
|
|
push "grapes" into myFoods
|
|
push "orange" into myFoods
|
|
push "apricot" into myFoods
|
|
|
|
put "The foods in my queue are: " & myFoods
|
|
|
|
pull from myFoods into firstThingToEat
|
|
|
|
put "The first thing to eat is: " & firstThingToEat
|
|
|
|
if myFoods is empty then
|
|
put "The foods list is empty!"
|
|
else
|
|
put "The remaining foods are: " & myFoods
|
|
end if
|