[fpc-pascal] random numbers negative
waldo kitty
wkitty42 at windstream.net
Tue Aug 16 20:03:02 CEST 2011
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?
More information about the fpc-pascal
mailing list