Category  Primitive procedure  
Format  (eofobject? obj)  
Parameters 


Description  eofobject? returns #t for the endoffile object, which is returned by procedures read, readchar, peekchar, and readline when they encounter the end of a memo; and #f for any other object.  
R^{4}RS Compliance  Full  
Examples 

Category  Primitive procedure  
Format  (eq? obj_{1} obj_{2})  
Parameters 


Description  eq? returns #t if obj_{1} and obj_{2} are identical and #f otherwise. eq? identifies equal symbols, integers and chars, but not reals or strings. To compare reals, use eqv? and to compare strings use string=? or equal?. Empty lists, vectors and strings are always eq?.  
R^{4}RS Compliance  Full  
Examples 

Category  Native procedure  
Format  (equal? obj_{1} obj_{2})  
Parameters 


Description  equal? returns #t if obj_{1} and obj_{2} have the same value and #f otherwise. equal? returns #t, if eqv? does, but also if both objects are lists, vectors or strings and contain the same components. In general, two objects are equal? if they print the same way. equal? checks for circular lists.  
R^{4}RS Compliance  Full  
Examples 

Category  Primitive procedure  
Format  (eqv? obj_{1} obj_{2})  
Parameters 


Description  eq? returns #t if obj_{1} and obj_{2} are equivalent and #f otherwise. eqv? returns #t, if eq? does, but also if both objects are numbers and numerically the same. Different nonempty strings are never considered eqv?, as modifying one string does not alter the other and so they're not equivalent. (Remember that strings are not shared in LispMe.)  
R^{4}RS Compliance  Full  
Examples 

Category  Native procedure  
Format  (error obj)  
Parameters 


Description  error aborts the current evaluation and prints obj using display to a message box as a user error. There's no return value.  
R^{4}RS Compliance  LispMe extension  
Examples 

Category  Compiler extension  
Format  (eval expression)  
Parameters 


Description  eval evaluates expression in the current environment and returns its value.  
R^{4}RS Compliance  LispMe extension. The environment parameter described in R^{5}RS is not supported.  
Examples 

Category  Native procedure  
Format  (even? int)  
Parameters 


Description  even? returns #t, if int is even. Otherwise it returns #f. See also odd?.  
R^{4}RS Compliance  Full  
Examples 

Category  Primitive procedure  
Format  (event wait)  
Parameters 


Description  event gets the next event from the PalmOS event queue and translates it into LispMe event syntax. Depending on wait it will wait (true) for the next event to become available or return immediately (timeout), if no event is queued. See also here.  
R^{4}RS Compliance  LispMe extension  
Examples 

Category  Native procedure  
Format  (exact>inexact num)  
Parameters 


Description  exact>inexact converts an exact number (SMALLINT or BIGINT) to an inexact one (IEEE floating point). May return [inf] if the large integer doesn't fit into a IEEE real.  
R^{4}RS Compliance  full  
Examples 

Category  Native procedure  
Format  (exact? num)  
Parameters 


Description  exact? returns #t for integers and #f for other numbers. LispMe doesn't support the exactness property of general numbers, all integer numbers are considered exact.  
R^{4}RS Compliance  Exactness property not stored  
Examples 

Category  Primitive procedure (MathLib required)  
Format  (exp z)  
Parameters 


Description  exp returns the natural antilogarithm e^{x} of z.  
R^{4}RS Compliance  Full  
Examples 

Category  Library procedure (MathLib required)  
Format  (expt z_{1} z_{2})  
Parameters 


Description  expt returns the power z_{1}^{z2}. When z_{2} is a natural number, the result is calculated by squaring and multiplication, so an integer result is always exact (see third example).  
R^{4}RS Compliance  Full  
Examples 

Back to index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Other