I was just wondering what a good in game example where i would want to use the buffer and hence the "ATTAC_ClearBuffer()"..
Also it would be nice to ahve a rexx function that returns the closest fig to a target sector.. It takes way to long to get the list of Figs(g) and then plot course (f) to the target sector from each fig.. It would be nice if we had a function to do it..
That clears ATTAC's internal memory buffer of data it is parsing. ATTAC uses it in the internal scripts. It is externalized in case you might want access to it.
For nearest fig... you can call
ATTAC_Get_Sector_Info (<sector> [, <warp_num> ])
and then recursively call for each sector it finds.
Then you can call
ATTAC_HasSectorFig(<Sector>)
to find the nearest fig for a sector. that is a breadth first search and how attac does it. if i have time, i will code it up for you. It is a low priority though.
earth.