
Originally Posted by
dz32
note: for the x64 support you will need utypes.dll its open source:
https://sandsprite.com/tools.php?id=31
i made a design decision to include full x64 signed number support and break specs with traditional js large number but not quite x64 bs
vb6_utypes\class_wrappers
cmdUIntTest_Click ERROR:
Code:
Dim a As New UInt
Dim b As New UInt
List1.Clear
a.use0x = True
b = a.MAX_SIGNED
List1.AddItem "start value: (MAX_SIGNED) " & a
a = a.Add(1)
List1.AddItem "Max+1 signed = " & a
List1.AddItem "Max+1 unsigned = " & a.toString(False)
If b.fromString(a.toString(False)) Then
List1.AddItem "Max+1 signed string transfer = " & b
Else
List1.AddItem "string transfer failed..."
End If