Files
harbour-core/contrib/hbnf/tests/rand1.prg
Przemysław Czerpak 96ca3fe470 2014-01-21 20:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* Makefile
  * config/*
  * contrib/*
  * doc/*
  * extras/*
  * include/*
  * lib/*
  * package/*
  * src/*
  * tests/*
  * utils/*
    * removed empty lines left after removed '$' + 'Id' + '$' identifiers
2014-01-21 20:41:05 +01:00

16 lines
242 B
Plaintext

#require "hbnf"
// Write 100 random numbers from 1 to 100 to stdout.
// Run it multiple times and redirect output to a file
// to check it
PROCEDURE Main()
LOCAL x
FOR x := 1 TO 100
? Int( ft_Rand1( 100 ) )
NEXT
RETURN