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 nee
radhika wrote:
Hi,
I need to set this flag = 0x001
My code is as follows:
$flag = OBJ::HALT(0x001);
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 SetF
Where is the function $quote-SetFlag() coming from?
-Original Message-
From: radhika [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 12:56 PM
To: beginners@perl.org
Cc: [EMAIL PROTECTED]
Subject: Storing a long value in an int
$flag = 0x001;
print("setting
> Hi,
> I need to set this flag = 0x001
> My code is as follows:
>
> $flag = OBJ::HALT(0x001);
> print("setting flag $flag\n");
> produces: 65536
> But when I say $quote-SetFlag($flag);
> The flag is being set to 0;
>
> I see that the number I am trying to set is 65536.
> Is there a way I
Hi,
I need to set this flag = 0x001
My code is as follows:
$flag = 0x001;
print("setting flag $flag\n");
produces: 65536
But when I say $quote-SetFlag($flag);
The flag is being set to 0;
I see that the number I am trying to set is 65536.
Is there a way I can make $flag a long int to store