On 8/16/2011 11:54, Luis Fernando Del Aguila Mejía wrote:
thansk

El 16/08/2011 10:36 a.m., Jonas Maebe escribió:
On 16 Aug 2011, at 17:25, Luis Fernando Del Aguila Mejía wrote:

I have a doubt.
With the random function, Can you generate random numbers negative?

Begin
randomize;
Writeln (random (-127)) / / 0> = n> -127
End.
random(128)-127;


Jonas

interesting... i don't see jonas' reply in the list at all... was it private 
only?
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to