home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / envoy100.zip / PARFORM < prev    next >
Text File  |  1990-03-15  |  1KB  |  26 lines

  1. ;-----------------------------------------------------------------------------
  2. ;       Envoy Command file Parform
  3. ;
  4. ;       Assigns Macro definitions to reformat a paragraph
  5. ;
  6. ;       Enter the command DO PARFORM to execute this file.  After this,
  7. ;       press alt-z to reformat the current paragraph of the edit file.
  8. ;
  9. ;       The scan code of the alt-z key is 300.  Scan codes 400 and 401 
  10. ;       cannot be entered from the keyboard.  The Macro functions assigned to
  11. ;       these codes are executed with the MACRO DO Command.
  12. ;-----------------------------------------------------------------------------
  13.  
  14. ;Macro 400 => break a line at column 81 if it needs it
  15.  
  16. ;Macro 401 => Go down. If not a blank line call macro 400
  17.  
  18. ;Alt-Z    => reformat a paragraph
  19.  
  20.  
  21. Macro 400 #Go Endline#If Column 82#Go Column 80#Go Word#Breakline#EndIf#Go Endline#If Column 82#Go Column 80#Go Word#Breakline#EndIf#
  22.  
  23. Macro 401 #Go Down#Go Endline#If Column 2#Joinline#Macro Do 400#EndIf#Go Endline
  24.  
  25. Macro 300 #Label Loop# Mac do 400#Mac do 401#If colu 2#Else#Go Down#Go col 1#Unblock#Exit#Endif#If Endfi#Exit#Endif#Jump Loop
  26.