Post Reply 
Problem in counting program
07-01-2020, 07:01 AM
Post: #5
RE: Problem in counting program
(07-01-2020 05:07 AM)Carlos295pz Wrote:  The following are general concepts that I am not sure if this is your case, nor with debugging.
- To send a 64-bit integer you must have the variable "Bits" in 64, also from configuration in order to define the default input length, or also send an integer with the suffix #FF:64h.
- Pragma must also obey this → pragma( integer(h64) ), you currently have h32, which is truncating your masks. If pragma is not defined, the Home setting will be used for the length of the integer.

#192837645h may be converted to #92837645h (result 14) due to the mask altered by the h32 pragma and otherwise by the Home setting.

Dear Mr. Carlos,
The pragma setting of h32 was indeed the cause of the error. After setting this to h64, the answer (15) turned out to be good. Thank you very much! Sincerely, Karel.

I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem in counting program - cahlucas - 06-30-2020, 10:12 PM
RE: Problem in counting program - Joe Horn - 07-01-2020, 04:52 AM
RE: Problem in counting program - cahlucas - 07-01-2020, 06:55 AM
RE: Problem in counting program - cahlucas - 07-01-2020 07:01 AM



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