Navigation: Programming with Amos > Class Reference > AmosRanGen Class Reference > AmosRanGen Class Members > Methods > NextUniform Method
NextUniform Method Example
The following program generates 20 random numbers.
Imports System.Diagnostics Module MainModule Sub Main() Dim arand As New AMOSRANDOMLib6.AmosRanGen Dim i As Long For i = 1 To 20 Debug.WriteLine(arand.NextUniform()) Next End Sub End Module