Problem with BinaryEncode and variable params
revolution at knowledgeworks.plus.com
Sat Dec 16 11:21:08 CST 2006
put "0,1,0" into tColors
put item 1 of tColors+0 into c1
put item 2 of tColors+0 into c2
put item 3 of tColors+0 into c3
put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData
works for me insofar as it will put some binary gibberish into the
msgbox. Are you sure that at least 1 item in tColors is non-zero?
I have never used imageData or binaryEncode, so maybe I am not
appreciating your problem.
More information about the use-livecode