memocat.rex   This is my first ADDIN and was done primarily as a learning experience.   I scoured all the examples and other resources listed on the Dana's site and all the other contributor's.
28JAN02   SEE THE DICTIONARY PAGE.  THE VERSIONS THERE ARE A REAL MEMO BROWSER BY CATEGORY!!
<Download>

01OCT01

 

  NEW VERSION!!
This version will ALSO DISPLAY the first seven lines of the memo.  Yeah...it ain't perfect...truncates some lines and doesn't know to not split a word at the end of a line! but it might become a dictionary browser some day, there is still lots of room under the 8K. 

SOURCE CODE INCLUDED IN ZIP file.

My real purpose is to read memo files so that you can self-configure the UNIT converter and Spreadsheet program from a Text File.  MemoCat helps me debug how to read a text file.  You can see how UNIT converter gets a line of text in this source code.

PROBLEM:  Rex somehow strips out any CR/LF and stores their positions only in the database!!  This is in the "EOLPOS" field of DBID=4004 database.  Internally the REX MEMO READER uses the database to re-insert CR on the fly.

I HAVE BEEN UNSUCCESSFUL TO READ THE FIELD!!
So what you see is just the lines being truncated without regard to the origianl CR/LF.

CAN ANYONE FIGURE IT OUT??  If you do I can put a BOOK READER TOGETHER PRETTY QUICKLY!!

In any event, I have a work around for my own use.  Basically for the datafiles that will be used for the unit converter, I simply put a SEMI-COLON at the end of each line in the original memo.  The routines in memocat will interpret a SEMICOLIN as a CR/LF!!  SO..that means I can read the data into UNITCONVERTER.

Look for the NEW unit converter next week!!

    OLD VERSION AND HISTORY BELOW!!!
<Download>

27AUG01

  memocat doesn't do anything very useful in it's first incarnation!   It basically lets you scan each Memo Category and then scan through the memo TITLES for the selected category.
DK   It was compiled using the rexdk.
Examples   Examples of memo database opening, finding record, nextrecord, and previous record.
NEEDED   Does anyone know how to start-up the Firmware Memo Display routine.  OR ANY WAY to read and Display MEMO TEXT.
Further Development   It might be useful as a front-end for the dictionary files some folks have done.   The category could be hardcoded in and then when you start the addin, you are just scanning through the dictionary files.   I have outlined a rudimentary search method, again the problem is HOW DO YOU READ IN THE MEMO AND ASSIGN IT TO VARIABLES IN THE PROGRAM.  The searching is not so difficult