- HP Community
- >
- Archived Topics
- >
- Tablets and Mobile Devices Archive
- >
- Variable with value. "PURGE Error : Bad Argument Type."
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Note on archived topics.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post
Solved!
Variable with value. "PURGE Error : Bad Argument Type."
09-13-2015 02:15 AM
Hi, my calculator 50G accuses a value for the variable 'X' but I can not find it in any directory and when I try to delete I get the message " PURGE Error : Bad Argument Type." I also have the variable theta with the same problem . How can I remove the value of these variables ? tks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post
Solved!
Variable with value. "PURGE Error : Bad Argument Type."
09-13-2015 12:22 PM
Hi!, ebell:
For find any variable or data, you can use, the FILER. Press white left key and APPS (Files).
You can see ...
Home
|
|
- CASDIR
Search the variable 'X'
With bar select variable and press NXT key. Now, you can see in the Key Function (F1) ... PURGE.
Press, this key.
Other method, is ...
1. {'X'} and press key F5 (PURGE)
Have a nice day !.
@Maké (Technical Advisor Premium - HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post
Solved!
Variable with value. "PURGE Error : Bad Argument Type."
09-13-2015 07:49 PM - edited 09-13-2015 07:49 PM
In addition to Maké's suggestions, two other possibilities come to mind: 'X' might be a directory object (which would cause the Bad Argument Type error because non-empty directory objects cannot be purged by PURGE, but must be purged by PGDIR), or it might be a local variable (which can only be purged by ending the environment which created it, which is usually a program). So if Maké's suggestions don't work, try HOME 'X' PGDIR, and if that doesn't work, try KILL (which ends all current local environments).
If THOSE don't work, please do HOME 'X' TYPE and tell us what object type 'X' is.
Disclaimer: I don't work for HP; I'm just another happy HP calculator user.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post
Solved!
Variable with value. "PURGE Error : Bad Argument Type."
09-14-2015 01:51 PM
Thank you Joe, solved the problem by calling KILL, actually I have a habit of debugging programs and sometimes do discontinuation of debug, so I think it made some of my variables used in the programs stay blocked. After I called KILL all of them were unlocked.
Tks!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post
Solved!
Variable with value. "PURGE Error : Bad Argument Type."
09-14-2015 11:36 PM - edited 09-14-2015 11:37 PM
You're welcome! Glad it worked.
By the way, if you keep your 50g's status area set to 2 lines, you'll see "HLT" in the top line near the right side, whenever a program is halted. Then you can either press the CONT key to continue the most recently halted program, or execute KILL which exits all of them. Then the HLT annunciator goes away.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Flag Post
Solved!
Variable with value. "PURGE Error : Bad Argument Type."
09-15-2015 06:59 PM
very good, I did not know that, I will be attentive now. Tks