Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!giza.cis.ohio-state.edu!marvel From: marvel@giza.cis.ohio-state.edu (Howard P Marvel) Newsgroups: comp.sys.mac.hypercard Subject: Re: XFCN--randomly selecting a word from a field Keywords: XFCN Message-ID: <74944@tut.cis.ohio-state.edu> Date: 13 Dec 89 16:47:16 GMT References: <7417@hubcap.clemson.edu> Sender: news@tut.cis.ohio-state.edu Reply-To: Howard P Marvel Distribution: na Organization: Ohio State University Computer and Information Science Lines: 13 In article <7417@hubcap.clemson.edu> dragon@hubcap.clemson.edu (Michael E. Quattlebaum) writes: >I need an XFCN that will go out and randomly select a word from a >field. This will be used in an educational stack that selects >words for a student to practice a spelling excercise. I will be >willing to write this if need be, but why reinvent the wheel, huh? >Please send e-mail with ftp sites, etc. if such a beast exists. Why do you need an XFCN? put the number of words in field spell into foo put word random(foo) of field spell into spellword I haven't tried this, but it looks ok.