DESFingerprint() - bug or syntax help mistake !?

Everything else that doesn't fall into one of the other PB categories.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

DESFingerprint() - bug or syntax help mistake !?

Post 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$)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,