Forum: Programmieren allgemein
by Die Muhkuh,
11. Feb 2005
Hab ich etwas davon gesagt, das Logo eine Programmiersprache is? :roll:
Forum: Programmieren allgemein
by Die Muhkuh,
11. Feb 2005
Hier mal ne LOGO-Procedure:
pr putdisk :tnum :dnum :state
;
; Called by HANOI to put a disk on a tower.
; first arg. is number of tower (1,2 or 3)
; second arg. is number of disk to draw (1 is smallest)
; third arg. is "final, "temp, or "erase depending on whether
; disk is drawn in final state, in temporary state to indicate
; motion, or is being erased (removed from this tower)