By popular request, below is a fully commented listing of the program ENCORE.BA. The listing below is not intended to be loaded in and RUN. But it does explain the program esoterica. 1 POWER"00:00:00",,"ENCORE.BA" REM Run ENCORE.BA at MIDNIGHT each day :GOSUB31 REM Look up the MEMORY address of NOTE.DO :T=S REM T = S = Actual memory address for NOTE.DO REMark: The following line begins search for Daily Updates 4 M$=",A,"+CHR$(237) REM Reset the memory search string for daily entries :GOSUB13 REM access the memory search routine. :A=1 REM String substitution begins at X - 18 + A (X is where match was found.) :B=8 REM String subsitution ends at X - 18 + B :GOSUB22 REM Do the String substitution (I.E. update the date) :IFXCHR$(P)THEN20 REM Have we found the first character in M$? 15 FORY=XTOX+LEN(M$)-1 REM Fisrt byte in M$ is found start comparsion for remaining bytes :IFCHR$(PEEK(Y))<>MID$(M$,Y-X+1,1)THEN20 REM Look for any mismatch--abort if found 17 NEXTY REM Keep checking for mismatch :M=1 REM We have a total match :RETURN REM Self explanatory 20 NEXTX REM Match not found YET :RETURN REM Self Explanatory 22 IFM=0THEN27 REM Exit if match not found 23 Y=X-18 REM Match was found. Assume that it is an alarm code that was located and subtract 18 to get the beginning of the line on which the alarm is found :FORW=ATOB REM Start of substitution loop :POKEY+W,ASC(MID$(DATE$,W,1)) REM POKE substitute string into memory :NEXT REM End of sub. loop 27 RETURN REM Done with substitution REMark: Update the year (line 30) 30 A=7 REM Set start of substitution :B=8 REM Set end of substituion :GOTO22 REM Jump to Update routine REMark: Look for Start and End of NOTE.DO file in memory 31 S=62145 REM Start looking in the Tandy 200 Directory :E=63000 REM Don't look any farther than this :M$="NOTE DO" REM this is what we are searching the directory for :GOSUB13 REM Parameters se, Now do the actual search 32 S=PEEK(X-1)*256+PEEK(X-2) REM Calculate start of NOTE.DO file from info obtained from directory. IMPORTANT: You must have a NOTE.DO file in memory or you are in deep trouble here! :E=62145 REM Temporary assumed end of NOTE.DO (We will define actual END of FILE in line 13.) :RETURN REM Exit