CONVERT CMD - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: CONVERT CMD (/thread-8368.html) |
CONVERT CMD - compsystems - 05-19-2017 06:25 PM HP50 CONVERT( 600_s, 1_min) [ENTER] 10_min HPprime CONVERT( 600_s, 1_mn) [ENTER] "Error: Bad argument type" ? RE: CONVERT CMD - tecnovelez - 05-19-2017 06:42 PM Try it in home, not in CAS RE: CONVERT CMD - compsystems - 05-19-2017 06:55 PM on home: Error: Syntax Error RE: CONVERT CMD - KeithB - 05-19-2017 07:00 PM Because the unit is "min", not "mn"? RE: CONVERT CMD - compsystems - 05-19-2017 07:04 PM 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 RE: CONVERT CMD - toml_12953 - 05-19-2017 07:36 PM (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 RE: CONVERT CMD - compsystems - 05-19-2017 07:47 PM In my case, if work (on CAS MODE) CONVERT(600_s,1_h), This should also work CONVERT(600_s, 1_min) RE: CONVERT CMD - StephenG1CMZ - 05-19-2017 09:50 PM There is an old thread about using mn in CAS http://www.hpmuseum.org/forum/thread-492.html?highlight=mins RE: CONVERT CMD - KeithB - 05-19-2017 11:18 PM Looks like they broke something, if _mn ever worked, which is implied in the thread. RE: CONVERT CMD - Joe Horn - 05-20-2017 03:32 AM 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) RE: CONVERT CMD - toml_12953 - 05-20-2017 11:53 AM (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". Thanks, Joe. I wish the lowercase version was in the catalog! Tom L RE: CONVERT CMD - compsystems - 05-22-2017 04:10 PM 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 |