Module Module1 Sub Main() Dim i, cislo As Integer Randomize(Timer) FileOpen(1, "data.dat", OpenMode.Random) For i = 1 To 10 cislo = Rnd() * 100 FilePut(1, cislo) Console.Write("{0} ", cislo) Next i FileClose(1) Console.ReadLine() End Sub End Moduleprogram ke stažení