< Futurebasic < Language < Reference
LINE
Syntax
lineAddress& = LINE "label"
Description
This function looks for the indicated label
in your program, and returns the memory address of the first program instruction that follows the label. The returned address can be used with the CALL <address>
statement (in cpu68K compiles). If you want to use LINE
in this way, the label should indicate the beginning of an ENTERPROC
procedure.
Note:
To get an entry point address for an ENTERPROC
procedure which is to be used as a "callback procedure" for a MacOS Toolbox routine, use the PROC
function instead.
See Also
CALL; ENTERPROC; @FN; PROC
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.