WR Get HTML expression
version 6.7
WR Get HTML expression (area) Text
Parameter | Type | Description | |
area | Longint | 4D Write area |
Function result Text Content of the HTML expression
Description
The WR Get HTML expression command allows recuperating the text of the HTML expression currently selected within area.
To select HTML expressions contained in a 4D Write document, you should use the WR Count(Area;wr nb HTML expressions) statement and then make a loop for WR SELECT(Area;13;$loop).
Example
You want to get HTML expressions contained in your 4D Write document:
C_LONGINT(Area;$i;$NbHTMLExp)
C_TEXT($MyExp)
$NbHTMLExp:=WR Count(Area;wr nb HTML expressions)
For($i;1;$NbHTMLExp)
WR SELECT(Area;13;$i)
$MyExp:=WR Get HTML expression(Area)
End for
See Also