November 2007

Archer - copyright 2007, by Earl W. Casper, under the GNU GPL
My web-page is www.coconutpalm.org .
Have your user install archer.prc and select archer as their 
Pocket C Architect compiler editor option.  Then when you call the compiler,
use "Arer", the archer's creator-id, instead of "PCAr", the compiler's.  
The compiler will return to you with '0,dbname,rec,offset' if the user 
taps the goto button with a menu, and '0,dbname,0,0,offset' if the user taps 
with a doc file.  If you would rather use a database interface, I put the 
information in a db called 'archer-data'.  
The goto parameter buffer is first, followed by the name.

typedef struct {
   Int16 searchStrLen;
   UInt16 dbCardNo;
   LocalID dbID;  // 4 bytes
   UInt16 recordNum;
   UInt16 matchPos;
   UInt16 matchFieldNum;
   UInt32 matchCustom;
} GoToParamsType;

Char name[32];  // null terminated
UInt32 creatorID;  // of your editor

Char mesg[100];  // null terminated   * starting with version 0.2

-------------------------------------------------------------------------------

* March 10, 2008  Ver 0.2

Architect programs compiled on palms don't seem to respond to launchArgs,
so I updated Archer to use Palm OS's version of launch().
I put the old launchArgs in a message at the end of the db.

 ------------------------------------------------------------------------------

* March 18, 2008  Ver 0.2.1

Changed ECedit to report on all of 'archer-data'. ECedit is a PocketC Architect
program which demonstrates the compiler-Archer-editor linkage. Hopefully
someday it will be more.

