frame_linkedto( <variable> )


This sets 'variable' to the page number of the specified link.

On entry, 'variable' should be:

1RED link
2GREEN link
3YELLOW link
4CYAN link


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.