HP Forums

Full Version: CONVERT CMD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HP50
CONVERT( 600_s, 1_min) [ENTER] 10_min

HPprime
CONVERT( 600_s, 1_mn) [ENTER] "Error: Bad argument type" ?
Try it in home, not in CAS
on home: Error: Syntax Error
Because the unit is "min", not "mn"?
The units menu (CAS) put _mn and not _min, Please correct this unit for the next firmware

HPprime (Home mode)
CONVERT( 600_s, 1_min) [ENTER] 10_min
CONVERT(600_s,1_h) [ENTER] 0.166666666667_h

HPprime (CAS mode)
CONVERT( 600_s, 1_min) [ENTER] "Error: Bad argument type"
CONVERT(600_s,1_h) [ENTER] 0.166666666667_h
(05-19-2017 07:00 PM)KeithB Wrote: [ -> ]Because the unit is "min", not "mn"?

_min doesn't work in CAS mode. Then again, neither does _mn which is what the CAS mode units menu shows.

I can't make it work in CAS mode no matter which one I use. _s, _h, _d and _yr work.

Tom L
In my case, if work (on CAS MODE) CONVERT(600_s,1_h), This should also work CONVERT(600_s, 1_min)
There is an old thread about using mn in CAS
http://www.hpmuseum.org/forum/thread-492...light=mins
Looks like they broke something, if _mn ever worked, which is implied in the thread.
In CAS, use convert (typed in lowercase letters) instead of CONVERT (uppercase). Sadly, the Toolbox Catalog types it in uppercase, but it only works in CAS in lowercase. Home accepts both upper and lowercase. Home calls minutes "min" but CAS calls minutes "mn".

Home: convert(1_h,1_min) --> 60_min
Home: CONVERT(1_h,1_min) --> 60_min
CAS: convert(1_h,1_mn) --> 60._mn
CAS: 1_(h)▶_mn --> 60._min (shortcut syntax, CAS Only)
(05-20-2017 03:32 AM)Joe Horn Wrote: [ -> ]In CAS, use convert (typed in lowercase letters) instead of CONVERT (uppercase). Sadly, the Toolbox Catalog types it in uppercase, but it only works in CAS in lowercase. Home accepts both upper and lowercase. Home calls minutes "min" but CAS calls minutes "mn".

Home: convert(1_h,1_min) --> 60_min
Home: CONVERT(1_h,1_min) --> 60_min
CAS: convert(1_h,1_mn) --> 60._mn

Thanks, Joe. I wish the lowercase version was in the catalog!

Tom L
CAS MODE

[shift][c] (units) [1] put CONVERT() then 600_s,1_mn returns "Error: Bad argument type"

In CAS MODE this should be convert() and not CONVERT()

convert(600_s,1_mn) returns 10_mn

the HP-Prime development group should think about solving the problem of the catalog and menu functions, ie eliminate the inconsistency (lower/uppercase) of the commands in each mode, making specific catalogs and menus for each HOME / CAS

I'm starting a project in a university with calculators in the classroom (I like HP more than TI), and I want to show a consistent, unambiguous product, I hope this problem is solved soon
Reference URL's