[Swift-devel] random seed generator?

Mihael Hategan hategan at mcs.anl.gov
Wed Apr 25 11:47:43 CDT 2007


On Wed, 2007-04-25 at 16:45 +0000, Ben Clifford wrote:
> 
> On Wed, 25 Apr 2007, Mihael Hategan wrote:
> 
> > I was trying:
> > string a;
> > a = random();
> > 
> > But for some reason this translates into random(a).
> 
> @random

that yields "unexpected token". And it would translate to vdl:random().
I wanted to avoid having an explicit namespace, so that it would pick
math:random().

> 
> not
> 
> random
> 
> perhaps.
> 




More information about the Swift-devel mailing list