main logo
Subject: RE: Smart Card Programming
Author: "Yap Seng Hock"
Posted: 2004/12/31 04:44:57
 
View Entire Thread
New Search


thanks

-----Original Message-----
From: profox-bounces AT leafe .DO.T com [mailto:profox-bounces@leafe.com] On Behalf
Of Ted Roche
Sent: Thursday, December 30, 2004 10:17 PM
To: profox AT leafe .DO.T com
Subject: Re: Smart Card Programming

On Dec 29, 2004, at 9:17 PM, Yap Seng Hock wrote:

> How about following line, can I change "(0x800) * (2 ^ 2)" to
> "BITLSHIFT(0x800,2)"?

You can test it right from the command window:

? (0x800) * (2^2) == BITLSHIFT(0x800,2)

of you could simplify the expression, since it consists of all
constants, by just evaluating the value and using that:

? 0x800 * 2^2

8192

Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com



[excessive quoting removed by server]


 
©2004 Yap Seng Hock
<-- Prior Message New Search Next Message -->