Futurebasic/Language/Reference/proc

< Futurebasic < Language < Reference

PROC

Syntax

<code><i>procAddress&</i> = <b>PROC</b> <i>"label"</i></code>

Description

This function looks for the indicated label in your program, and returns a memory address which can be used to call the instructions which follow label. Typically, label will indicate the beginning of an ENTERPROC procedure which is to be used as a "callback procedure" by a MacOS Toolbox routine.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.