[futurebasic] code begins where?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2001 : Group Archive : Group : All Groups

From: "Edwards, Waverly" <wedwards@...>
Date: Thu, 1 Feb 2001 17:53:51 -0500

Anyone have an idea of how to programatically find the beginning of code in
memory.  I could take the easy approach and just put a label at the top of
the program or the runtime and do this

startAddr = LINE "TopOfProgram"

but I'm trying to get away from getting the address using LINE, going for a
more generic solution.

I originally thought that the top of code was the applZone, accessed by

startAddr = [_applZone] but this is far above where the actual code resides.

I've been looking for a way for the last two days and havent gotten

Anyone have any ideas?