Futurebasic/Language/Reference/line

LINEEdit

SyntaxEdit

lineAddress& = LINE "label"

DescriptionEdit

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 AlsoEdit

CALL; ENTERPROC; @FN; PROC