<HTML><FONT FACE=arial,helvetica><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF"><BR>
<BLOCKQUOTE CITE STYLE="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px" TYPE="CITE"></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF">on theHandler<BR>
# do things<BR>
send theHandler to me in 1 millisecond<BR>
end theHandler<BR>
<BR>
Would this trigger a Metacard recursion count?</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF"><BR>
</BLOCKQUOTE></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF"><BR>
It shouldn't. What happens is this:<BR>
<BR>
1. theHandler is triggered.<BR>
2. A message is queued to trigger theHandler again.<BR>
3. theHandler finishes executing.<BR>
4. theHandler is triggered by the pending message.<BR>
<BR>
As you can see, the first copy of the handler completes and exits in step 3. Thus, you only have one copy of the handler in memory at once.<BR>
<BR>
On the other hand, this:<BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF">on theHandler<BR>
# do things<BR>
theHandler<BR>
end theHandler<BR>
<BR>
Produces this result:<BR>
<BR>
1. theHandler is triggered.<BR>
2. theHandler calls a second copy of itself.<BR>
3. The second copy calls a third.<BR>
4. The third copy calls a fourth.<BR>
...<BR>
<BR>
After 4 steps there are 4 handlers in memory, and you are recursing. The first copy can't release until the second does, the second is waiting for the third, the third is waiting on the fourth, etc. Until all of those handlers start terminating without recursing any further, you'll just keep on eating memory- and Metacard will bail you out with an error.<BR>
<BR>
HTH,<BR>
Brian</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF"><BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF"><BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2" STYLE="BACKGROUND-COLOR: #FFFFFF"></FONT></HTML>