Page 1 of 1

DESFingerprint() - bug or syntax help mistake !?

Posted: Wed Mar 01, 2006 5:47 am
by va!n
i am not sure if it would be ok, to post in the bug section or here! So i post it first here to discuse with you about this. The IDE syntaxhelp and the v4 beta Helpfile are saying to use the command as follow:

Code: Select all

Result$ = DESFingerprint(Password$, Key$)
But if you try it on this way, you have no luck to compile/run it! Lets take a look to this example as explained from the docs (if i am right!?)

Code: Select all

a$   = "PureBasic"
key$ = "Power"
Debug DESFingerprint(a$,key$)
After some time i noticed a little evil thing how to get it work. Just adding a @ in front of the password string and it will work! So i am not sure if its a bug or not! However, if its not a bug, i would like to see something like:

Code: Select all

Result$ = DESFingerprint(@Password$, Key$)
in the documentation and IDE syntaxhelp! What do you think!? Just test this version, added the @ to the first parameter and it seems to work!

Code: Select all

a$   = "PureBasic"
key$ = "Power"
Debug DESFingerprint(@a$,key$)