Sign in to follow this  
Followers 0
jrp

PixelChecksum doesn't accept vars

2 posts in this topic

I'm trying to use PixelChecksum with variables instead hardcoded numbers

$a = 12

$b = 12

$c = 33

$d = 40

PixelChecksum ($a,$b,$c,$d)

but it return as checksum 1 always

I printed the vars and are OK

if I write it *hardcoded*, it works:

PixelChecksum(12,12,33,40)

returns the checksum value

Does PixelChecksum only accept hardcoded values?

Thank you very much

--

/JRP

Share this post


Link to post
Share on other sites



Does PixelChecksum only accept hardcoded values?

No, PixelChecksum accepts variables, and it works in both ways on my system (3.1.1.83).

$a = 12
$b = 12
$c = 33
$d = 40

$msg = PixelChecksum ($a,$b,$c,$d) & @CRLF
$msg = $msg & PixelChecksum(12,12,33,40) & @CRLF

ClipPut($msg)

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0