|
|
On Mon, 14 Feb 2000 20:41:10 -0000, "Peter Cracknell" <pc### [at] lineonenet> wrote:
Hi Peter,
You need to reset xcount and xmover in your xrow macro between the final two #end's.
e.g.
#macro xrow (zmover)
#while (xcount<xno)
fgrass (xmover,zmover)
#declare xcount = xcount + 1;
#declare xmover = xmover + (maxmove-minmove)*rand(rdd)+minmove;
#end
#declare xcount = 0; // or control never hits fgrass on the 2nd call to
xrow
#declare xmover= -1; // or the row moves along in x
#end
xrow (10)
xrow (5)
----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------
Post a reply to this message
|
|