That's the problem, I don't know what to use.    I've tried call-with-values
and receive, but both give me errors, mostly because I have no idea what
I'm doing.    Receive expects  (name1 name2 ...) valexp body, but this
produces an error since name1 is not a command.

Why not just return a list and make it simple?

The call to (imlib:pixel img x y) should return the r, g, b, a values of the pixel. Just calling it produces r. The others are there, but how do I get
them?

confused....

Alex Queiroz wrote:
Hallo,

On 9/24/07, William Ramsay <[EMAIL PROTECTED]> wrote:
Hi,

Can anyone explain to me how to get the four values from the imlib2 egg
procedure  (imlib:pixel/rgba img x y)?   It seems to only return the
first value,
but it's supposed to return four values.   This may be more of a scheme
question than an imlib2 question, but either way I can't seem to get it
to work.


     Are you using RECEIVE or LET-VALUES?

Cheers,


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to