Function EN Version 4.50

@RTAddParagraph

RichText

Syntax

@RTAddParagraph(RT1;HRT2);

Description

Appends the RICHTEXT paragraph RT1, which is a complete RICHTEXT-portion, to the HRT (HUGERICHTEXT) variable HRT2.
A RICHTEXT field consists of many individual paragraphs that describe the elements of the RICHTEXT field, for example a text element or the beginning or end of a table.

Example: @RTAddParagraph(RT1;HRT2);

RTout:=@RTInitEmpty;

RTF:=@RTFetchInit(RTinp);
WHILE(@CheckHandle(RTF))
{
   RTF:=@RTFetchParagraph(RTinp;RTF;Sig;RT);
   IF(@CheckHandle(RTF))
   {
      RTout:=@RTAddParagraph(RT;RTout);
   }
}

The contents of the HRT variable RTinp are copied paragraph by paragraph into the new HRT field RTout.

Note : This text was machine-translated and may contain inaccuracies.