(let ((myLoc 50) (fenceLoc 100)) (dotimes (Distance 0 101) (if (Distance > fenceLoc) ...))
HenHanna@NewsGrouper <[email protected]> Sun, 26 Apr 2026 23:56:16 GMT
| Newsgroups | rec.puzzles,comp.lang.python,comp.lang.lisp,comp.lang.scheme |
|---|---|
| Message-ID | <[email protected]> |
(This is good -- Let's have more!)
(let ((myLoc 50) (fenceLoc 100))
(dotimes (Distance 0 101)
(if (Distance > fenceLoc)
.....))
_________________________
Begin
yourLocation = 50
fenceLocation = 100
For Each BladeOfGrass
{
If itsLocation > 100
Then itsColor = #009900
Else itsColor = #007700
}
End