home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / cat / sam1.exe / lha / APPEND.DOC < prev    next >
Text File  |  1991-12-31  |  1KB  |  25 lines

  1. APPEND.100 by James Yi (c) 1989
  2.  
  3. Adapted for the Model 100/102 by Wilson Van Alst.  APPEND.CO is 209 bytes and runs in Alt LCD buffer.
  4.  
  5. APPEND.CO is a text utility that appends text to the paste buffer.
  6.  
  7.   cut with <F7> <F6>
  8.  copy with <F7> <F5>
  9.  
  10. The accumulated buffer contents are returned whenever the PASTE key is pressed.
  11.  
  12. While in APPEND, the paste buffer can be cleared by pressing <F7> <F6> without moving the cursor.
  13.  
  14. When APPEND is run from the Menu it prompts for a filename.  Type the filename, then hold down the SHIFT key while you hit ENTER.  This will keep the normal word-wrap feature intact.  If you press ENTER without the SHIFT key, the word-wrap feature will be disabled.
  15.  
  16. The program turns its self off when you exit from TEXT.
  17.  
  18. If typing the filename each time you access a text file becomes too  inconvenient, you may automate the process for each text file.
  19.  
  20. Create the Basic program listed below for each text file (filename) that you access frequently.  In line 1, replace "NOTE" with the filename of the file you want to edit.  Change W=0 to W=1 if you want the word-wrap feature enabled.  Save the file as filename.BA.  Whenever you want to edit the file, run the Basic program for that file.
  21.  
  22. 10 F$="NOTE":W=0
  23. 20 F$=F$+CHR$(0):V=VARPTR(F$)
  24. 30 LOADM"APPEND":CALL64704,W,PEEK(V+1)+PEEK(V+2)*256
  25.