Martyn Hill wrote: > How is it that some of these areas lie well outside of the traditional > SBASIC job area? > > I have my own ideas, but hoped someone here (Marcel?) might be able to > shed some light on how and where SBASIC is laid-out in SMSQ/E.
Frankly for me it's all pretty hazy what you're trying to do or asking here. The sources of the SBASIC interpreter are out there and usually well enough commented, though I concur that many things are still not easy to understand ;-) Generally everything in Basic is always relative to a Basic-area base pointer. This is at a fixed offset from the JCB for SBasic jobs. I'm not sure how job 0 is handled. The SBasic job working areas are generally allocated from the common heap, so they are a) discontinuous and b) might be below A6 (therefore negative offsets are possible). > b) Is there a SBASIC job-size stored in any _one_ place (as opposed > to adding up the 'Length' bits above) No. But why would one want to know this? Cheers, Marcel _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
