• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: random function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random function


  • Subject: Re: random function
  • From: Daniel Robinson <email@hidden>
  • Date: Fri, 22 Jun 2001 08:11:12 -0400

Eric,

I only used 'the list' as an illustration

maybe this will explain it better.

--Dan

------------------------------------------------------------------------

-- with real as seed (a seed higher than 9999.9 gives scientific
notation)
set ThisNumber to random number 9999.9
--> zero to 9999.999999999999

--with integer as seed
set ThisNumber to random number 9
--> zero to 9

--with no seed
set ThisNumber to random number
--> zero to 0.999999999999
------------------------------------------------------------------------

Erik Norton wrote:

> what can AS use as its random value function? is
> 'some' the way to go or is there another solution? is
> there a method that returns a random number using
> 'some' without applying it against a list? using
> OSv9.1 ASv1.6. thanx.
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >random function (From: Erik Norton <email@hidden>)

  • Prev by Date: Re: info on FaceSpan
  • Next by Date: Re: Group Items in Illustrator
  • Previous by thread: random function
  • Next by thread: Group Items in Illustrator
  • Index(es):
    • Date
    • Thread