Yes.I do not understand the Overload functionality. If I specify pcg.range(1,123) will it then invoke the Long version?
If either or both parameters is a float then the float range will be used.
Code: Select all
#Include "PCG32II.bas"
Dim As pcg32 pcg
Print pcg.Range(1,500);" ";pcg.Range(1.,500)
Print pcg.Range(1,600);" ";pcg.Range(1,600.)
Print pcg.Range(1,700);" ";pcg.Range(1.,700.)
sleep
Code: Select all
376 368.1740036648698
150 453.6680366187356
451 342.9242223035544