This sets 'variable' to the page number of the specified link.
On entry, 'variable' should be:
The page numbers are returned in base ten (i.e. p101 is 101), which may be used with the majority of the script commands which also work in base ten.
If you would like actual hex values returned (i.e. p101 is 257), add '16' to the value set in variable on entry.