#Include "PCG32II.bas"
#inclib "MbRand" ' MbRand.a is a Windows *.lib file
Dim As pcg32 pcg
Dim As ULong i
Print "Rand"
For i = 1 To 6
Print pcg.rand
Next
Print "Rand"
For i = 1 To 6
Print pcg.rand
Next
Declare Function MbRand(byval bytes as Integer, byval seed As Integer) As Long Ptr
' error: undefined reference to `MBRAND@8'
Dim MyNumbers as Long ptr=MbRand(1000, 0)
Sleep