Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Alex: Son of Minor fubar

Quote Reply
Alex: Son of Minor fubar
Alex:

Was messing around, and found that you have defined global random1, random2, etc. However, it returns a just any old number.... perhaps it might be better to make it return an integer...

change Build.pm from

$display{random} = rand (10000);
$display{random1} = rand (10000);
$display{random2} = rand (10000);
$display{random3} = rand (10000);

to

$display{random} = int(rand(10000));
$display{random1} = int(rand(10000));
$display{random2} = int(rand(10000));
$display{random3} = int(rand(10000));


Just my 2 cents!!!!

But it was VERY NICE to find this in there at all!

Dave

Quote Reply
Re: Alex: Son of Minor fubar In reply to
Thanks! Fixed!

Cheers,

Alex

--
Gossamer Threads Inc.