<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=ridTitle>Blank</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><BASE
href="file://C:\Program Files\Common Files\Microsoft Shared\Stationery\">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>
<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY id=ridBody bgColor=#ffffff
background=cid:001d01c23d4f$2c741130$0100007f@D83C5B0J>
<DIV>Hi </DIV>
<DIV> </DIV>
<DIV>A newcomer to Revolution, I was experimenting with arrays and hit upon
the idea of using the DO command to write this handler.</DIV>
<DIV> </DIV>
<DIV>on processMyTable tcommand<BR> repeat with ty = 1 to
10<BR> repeat with tx = 1 to
10<BR> do tcommand<BR> end
repeat<BR> end repeat<BR>end processMyTable</DIV>
<DIV> </DIV>
<DIV>The objective is to provide the handler with the statement(s) that have to
be applied to each cell in the array, rather than repeat similar lines of code
for each action.</DIV>
<DIV> </DIV>
<DIV>When I put this call into a mouseup handler -- no problems</DIV>
<P>processmytable "put empty into mytable[tx,ty]"</P>
<P>However, this handler </P>
<P>processmytable "put mytable[tx,ty] after last char of fld
quote&mydisplay&quote "</P>
<P><BR>causes this error.</P>
<P><BR>Error description: do: can't find
command<BR>--------------------<BR>do tcommand<BR>--------------------<BR>Value:
&<BR></P>
<P>I've tried building the statement in a variable and passing the variable to
my handler but that doesn't work either. I suspect that I am missing something
pretty obvious but what it is is eluding me.</P>
<P>Could someone shed some light please.</P>
<P>BTW I am using a licensed version of Revolution.</P>
<P>Thanks</P>
<P> </P>
<P>Ian McKnight</P></BODY></HTML>