Docs 4D Write Pro examples error

https://docs.4d.com/4Dv17R6/4D/17-R6/WP-Get-position.301-4433868.en.html

Example 1 and 4 of the v17R56 Write Pro manual for the command WP Get position contain an error. ‘WP Get selection’ has been renamed to ‘WP Text range’.

Example 1:
C_OBJECT($range;$rangePosition)
$range:=WP Get selection(WParea) //range from user selection
$rangePosition:=WP Get position($range;wk 4D Write Pro layout)
ALERT("First page number in selection is "+String($rangePosition.page))