HP (Hewlett-Packard) NW280AAABA Calculator User Manual


 
Programming 553
TIME Syntax: TIME(program_name)
Returns the time in milliseconds required to execute the
program program_name. The results are stored in the
variable TIME. The variable TICKS is similar. It contains
the number of milliseconds since boot up.
TYPE Syntax: TYPE(object)
Returns the type of the object:
0: Real
1: Intege r
2: String
3: Complex
4: Matrix
5: Error
6: List
8: Function
9: Unit
14.?: cas object. The fractional part is the cas type.
Variables and Programs
The HP Prime has four types of variables: Home variables,
App variables, CAS variables, and User variables. You
can retrieve these variables from the Variable menu (
a).
Home variables are used for real numbers, complex
numbers, graphics, lists, and matrices among other
things. Home variables keep the same value in Home and
in apps.
App variables are those whose values depend on the
current app. The app variables are used in programming
to represent the definitions and settings you make when
working with apps interactively.
CAS variables are exactly the same as Home variables
except that they are used only when doing CAS
operations. They can, however, be called by commands
in Home view. The names for CAS variables mirror those
for Home variables except that they must be lowercase.