[futurebasic] Spell check help

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2006 : Group Archive : Group : All Groups

From: Jay Reeve <jayreeve@...>
Date: Sat, 13 May 2006 00:15:42 -0500
I know some of you have done some playing with the OS X Spell  
Checker. Does anyone know UNIX syntax which will check the spelling  
of a supplied word and report whether it exists in the dictionary or  
not? I'm looking for a simple FB fn along these lines:

local fn IsWordInDictionary( wordP as ^str255 )
dim rslt
open "UNIX", 1, "Some command to check the word at wordP", ¬
	wordP + 1, wordP.0``
line input #1, rslt 'Read the result
close 1
end fn = ( rslt == "" ) ' return _zTrue if found in dictionary

tia,
   e-e
   =J= a  y
    "