HP Forums
more oz - 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: more oz (/thread-5128.html)

more oz - ji3m - 11-14-2015 05:48 PM

I am having very bad results trying to determine the types of objects in a program

if i type CAS.type("hello") in the home window i get 12 which is dom_string. Ok.

BUT if i use the same line in a program (which by all accounts is a home language)
I get 2 which is the home type for a string

this means CAS.type() is the same as TYPE() in a program.
Tiny "type ()" does the same.

I can deal with odd but not inconsistancy.

So how to find the type reliably? (more #cas ?)

RE: more oz - ji3m - 11-14-2015 07:45 PM

Oops. My fault. Forgot that ppl evaluates string arguments
without asking. Need quoted. Very oz like.