HP Prime for All

English  Русский 

Syntax

compare(Obj(arg1),Obj(arg2))

Description

Returns 1 if type(arg1)<type(arg2) or if type(arg1)=type(arg2) and arg1<arg2, else returns 0.

Example

compare(1,2) returns 1

compare — Discussion