Q34274: How to Perform Spell Checking in M
Article: Q34274 Product(s): See article Version(s): 1.00 | 1.00 Operating System(s): MS-DOS | OS/2 Keyword(s): ENDUSER | | mspl13_basic Last Modified: 29-AUG-1988 Question: Does the Microsoft Editor have any spell checking capabilities? Response: The M editor does not have built-in spell checking. If you have a separate spell-check program you can write a macro to invoke it on your current file. For example, you could use the spell checker that comes with Microsoft Word Version 4.00 by doing the following: [M] ... Spell:=Arg "spell-am " Curfile Shell Spell:ALT+S The macro works as follows: 1. Arg introduces an argument to the shell command. 2. "spell-am" is the name of the spell-check utility included in Word Version 4.00. 3. Curfile is the name of the current file you are editing. Note the space at the end of "spell-am "; this space is needed so the argument you pass to Shell is "spell-am YourCurrentFile" instead of "spell-amYourCurrentFile". 4. The Shell command invokes COMMAND.COM and passes it the spell-am command. When spell-am completes its spell-check, it will return to the editor.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.