4D Write v14

WR Get HTML expression

Home

 
4D Write v14
WR Get HTML expression

WR Get HTML expression 


 

WR Get HTML expression ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
Function result  Text in Content of the HTML expression

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

 
PROPERTIES 

Product: 4D Write
Theme: WR Database Objects
Number: 89433

 
HISTORY 

Created: 4D Write 6.7

 
SEE ALSO 

WR INSERT HTML EXPRESSION

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)