Post Reply 
Integer Confusion and :
01-26-2017, 06:53 AM
Post: #8
RE: Integer Confusion and :
Hello,

If you are planning to work with integers in a program, remember that you can access integers bits using the () syntax as in:
LOCAL a:= #12345h;
a(x) to get/set the xth bit in the integer and that
a(x,y) will allow you to set/get the y bits at pos x in the integer.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Integer Confusion and : - KeithB - 01-25-2017, 03:54 PM
RE: Integer Confusion and : - Han - 01-25-2017, 04:18 PM
RE: Integer Confusion and : - KeithB - 01-25-2017, 04:37 PM
RE: Integer Confusion and : - Han - 01-25-2017, 07:01 PM
RE: Integer Confusion and : - Tim Wessman - 01-25-2017, 06:02 PM
RE: Integer Confusion and : - KeithB - 01-25-2017, 06:28 PM
RE: Integer Confusion and : - mark4flies - 01-26-2017, 01:30 AM
RE: Integer Confusion and : - cyrille de brébisson - 01-26-2017 06:53 AM
RE: Integer Confusion and : - KeithB - 01-26-2017, 05:03 PM



User(s) browsing this thread: 1 Guest(s)