The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
HP 50g - Purge current variable message
03-13-2023, 10:11 AM
Post: #1
HP 50g - Purge current variable message
I came across an odd issue recently - when calling a program from a test harness that calls the program under test repeatedly with different numbers, a choose box would pop up with the message 'Purge current variable?'. Choosing yes would continue normally but choosing cancel would abort execution with the message 'Mode switch cancelled'.

In debug mode, I could see that this was triggered by an 'IDIV2' instruction.

Does anyone know what the message means? What is meant by a 'mode switch' and why does IDIV2 trigger it? I tried a search but only found references to the CAS and interactions with the variable 'X'. I did, in fact, have a variable 'X' in the test harness that stored the current number but since I am not using any CAS features, I am not sure if it is the same reason.

This is just for my own understanding being new to RPL and the 50g. I worked around the issue by changing IDIV2 to "/ IP".

Sudhir
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50g - Purge current variable message - 2old2randr - 03-13-2023 10:11 AM



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