HP Forums

Full Version: more oz
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?)
Oops. My fault. Forgot that ppl evaluates string arguments
without asking. Need quoted. Very oz like.
Reference URL's