Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!wuarchive!texbell!texsun!pollux!ti-csl!m2!martin From: martin@m2.csc.ti.com (Steven Martin) Newsgroups: comp.sys.mac.hypercard Subject: Re: XFCN--randomly selecting a word from a field Keywords: XFCN Message-ID: <102249@ti-csl.csc.ti.com> Date: 14 Dec 89 14:45:10 GMT References: <7417@hubcap.clemson.edu> <74944@tut.cis.ohio-state.edu> Sender: news@ti-csl.csc.ti.com Reply-To: martin@m2.UUCP (Steven Martin) Distribution: na Organization: TI Computer Science Center, Dallas Lines: 26 In article <74944@tut.cis.ohio-state.edu> Howard P Marvel writes: >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. Yecchh! :-) How about: any word of field spell It's amazing how many little commands like this there are and how few people actually know about them. Steve Martin USENET: {ctvax,im4u,texsun,rice}!ti-csl!martin ARPANET: SMARTIN@CSC.TI.COM COMPUSERVE: 72727,1471 GENIE: S.MARTIN8 PHONE: (214)-995-0387, 404-1061 I'll have four whole fried chickens and a Coke. -Jake Blues