Whats wrong with val(dword) it's producing the wrong answer?
Is it me or a bug in DBP?
Can other people test this code please an tell me if you get the same result.
REM Project: ValTest
REM Created: 26/06/2007 12:41:35
REM
REM ***** Main Source File *****
REM
shortVal as dword
longVal as dword
shortVal = val ("12345678")
longVal = val("1234567890")
print str$(shortVal) `result = 12345678
print str$(longVal) `result = 1234567936!!!
print str$(1234567890) `result = 1234567890
wait key
OMG i realy need accurate results for my encryption/decryption DLL to work