Futurebasic/Language/Reference/register

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Syntax[edit | edit source]

REGISTER(A5)

Description[edit | edit source]

This function returns the value of the system global variable currentA5. The currentA5 value is a pointer to a location within the memory space allotted for your program; every currently running program has its own individual currentA5 value. currentA5 points to the first byte of your program's application parameters. The memory space immediately preceding the location pointed to by currentA5 contains your program's global variables. See the "Introduction to Memory Management" chapter in Inside Macintosh: Memory for more information. This function is available only for 68K compilation.

See Also[edit | edit source]

Inside Macintosh: Memory