Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!nprdc!halff
From: halff@nprdc.arpa (Henry Halff)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Random Selection of Cards
Summary: go to card random(number of cards)
Message-ID: <611@arctic.nprdc.arpa>
Date: 6 Jul 88 19:41:11 GMT
References: <1788@vaxwaller.UUCP>
Sender: news@nprdc.arpa
Reply-To: halff@nprdc.arpa (Henry Halff)
Organization: Navy Personnel R&D Center, San Diego
Lines: 13

In article <1788@vaxwaller.UUCP> wood@vaxwaller.UUCP (John Wood) writes:
>
>I have an application for hypercard in which I would like to be
>able to select a card randomly (via the pseudo-random number 
>generator function) in response to clicking on a button.

Put this script in the button

on mouseup
   go to card random(number of cards)
end mouseup

hh