Hi,
Please find below a correction, submit by *CSM*, an open source user
Just replace the method public void performThrough(Paragraph
paragraphBegin, Paragraph paragraphEnd) of BaseProgramManager.java in
NacaRT with this code:
public void performThrough(Paragraph paragraphBegin, Paragraph
paragraphEnd)
{
// Enum all paragraphs that are between functorBegin and functorEnd,
whatever their sections
CJMapRunnable saveCurrentParagraph = m_currentParagraph;
m_currentParagraph = paragraphBegin; // *CSM* Save a reference to
current paragraph; saved in stack, enabling nested perfomthrough
boolean bDone = false ;
while(m_currentParagraph != null && !bDone)
{
try
{
m_currentParagraph.run();
if (m_currentParagraph == paragraphEnd)
{
bDone = true ;
m_currentParagraph = saveCurrentParagraph; // *CSM* Restore the
current paragraph reference member before return
}
else
{
setNextParagraphCurrent();
}
}
catch (CGotoException e)
{
m_currentParagraph = e.m_Paragraph;
}
}
}
Best regards,
PJD
> }- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -