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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to