Sub Class_Globals
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
'
End Sub
Public Sub makeISBNNumber() As String
Dim isbn, a, b, c, d, e, f, g, h, i, j As Int
Private x, n As Int
For x = 0 To 99
a = Rnd(1,9)
b = Rnd(1,9)
c = Rnd(1,9)
d = Rnd(1,9)
e = Rnd(1,9)
f = Rnd(1,9)
g = Rnd(1,9)
h = Rnd(1,9)
i = Rnd(1,9)
j = Rnd(1,9)
isbn = (a + (b * 2) + (c * 3) + (d * 4) + (e * 5) + (f * 6) + (g * 7) + (h * 8) + (i * 9) + (j * 10))
If isbn Mod 11 = 0 Then
Return ($"${a}${b}${c}${d}${e}${f}${g}${h}${i}${j}"$)
n = n + 1
End If
Next
End Sub