The problem was actually in our code - SetFlags(). SetFlags(unsigned short flags) which was causing the problem. I changed that to a long, and it works. Sorry for the rather un-informative description. I will try to ask better questions next time.
Thanks, -radhika > radhika wrote: >>>Hi, >>>I need to set this flag = 0x0010000 >>>My code is as follows: >>> >>>$flag = OBJ::HALT(0x0010000); >>>print("setting flag $flag\n"); >>>produces: 65536 >>>But when I say $quote-SetFlag($flag); >>>The flag is being set to 0; > > Is that a method call? > > $quote->SetFlag($flag) > > I don't know what SetFlag() is or what it's doing (or what OBJ::HALT is > for that matter), so you need to provide some more information. > SetFlag() could be doing anything with $flag. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- It is all a matter of perspective. You choose your view by choosing where to stand. Larry Wall --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>