RE: [sv-ec] Question about seeding $urandom

From: Ryan, Ray <Ray_Ryan_at_.....>
Date: Thu Jun 11 2009 - 09:25:36 PDT
I agree that

	process::self().srandom(seed)

is NOT legal (because this uses a return result as a prefix).

This would be more apparent if the empty paren's weren't
optional on function calls.

- Ray

> -----Original Message-----
> From: owner-sv-ec@server.eda.org 
> [mailto:owner-sv-ec@server.eda.org] On Behalf Of Jonathan Bromley
> Sent: Thursday, June 11, 2009 1:19 AM
> To: Cliff Cummings
> Cc: owner-sv-ec@server.eda.org; sv-ec@server.eda.org
> Subject: RE: [sv-ec] Question about seeding $urandom
> 
> > [Cliff] found another working example of what I needed:
> > 
> > process::self.srandom(seed);
> 
> Yikes!  Is this legal?  I didn't think we could use a method 
> return result as the prefix to a .method() call.
> Are the rules subtly bent for static methods?
> --
> Jonathan Bromley
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jun 11 09:27:18 2009

This archive was generated by hypermail 2.1.8 : Thu Jun 11 2009 - 09:28:05 PDT