Re: poke4 won't accept my 32bit values

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Chris,
I suspect that you have a bug in your code. Somehow the valriable called
'test' is being set to #FFFFFFFF and later getting 1 added to it before you
do the poke.


----- Original Message -----
From: "Chris Bensler" <godsgift at saintly.com>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, March 20, 2001 1:35 AM
Subject: Re: poke4 won't accept my 32bit values

> atom Color_Value  Color_Value= allocate(4)
> poke4(Color_Value,#FFFFFFFF)

This example you gave works fine. Are you saying you have the line ...

> poke4(Color_Value,#FFFFFFFF)

in two programs. It works in one and fails in the other?

According to the ex.err file, there is a variable called 'test' involved.

How about you scan for each use of 'test' and double(triple!) check that it
really does have the correct value in it JUST before getting poked. The
value in the ex.err file is #100000000 and NOT #FFFFFFFF


You can send me the source code if you wish me to debug it.

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu