Category | Primitive procedure (MathLib required) | |||||||||
Format | (tan z) | |||||||||
Parameters |
|
|||||||||
Description | tan computes the tangent of the number z.
z is an angle measured in radians.
For complex arguments z = x + yi,
the formula |
|||||||||
R4RS Compliance | Full | |||||||||
Examples |
|
Category | Primitive procedure (MathLib required) | |||||||||
Format | (tanh z) | |||||||||
Parameters |
|
|||||||||
Description | tanh computes the hyperbolic tangent of the number
z.
For complex arguments z = x + yi,
the formula |
|||||||||
R4RS Compliance | LispMe extension | |||||||||
Examples |
|
Category | Native procedure | |||
Format | (text obj) | |||
Parameters |
|
|||
Description | text formats obj in
human-readable format and prints it as graphic text to the graphic
screen. Printing uses the graphics state
*gstate*
for starting coordinates, font, colors and drawing mode.
The current point in *gstate* is not updated. See here for details on the graphic state. The return value is #n to avoid trashing the graphics. |
|||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Primitive procedure | ||||||
Format | (ticks? obj) | ||||||
Parameters |
|
||||||
Description | ticks? returns #t for a "ticks" value and #f for any other object. | ||||||
R4RS Compliance | LispMe extension | ||||||
Examples |
|
Category | Native procedure | |||
Format | (ticks-per-sec) | |||
Parameters | None | |||
Description | ticks-per-sec returns the number of ticks in a second (typically 100, but don't take this value for granted!). Always use this function to scale the results from ticks measuring functions. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (ticks-since ticks) | |||
Parameters |
|
|||
Description | ticks-since returns the number of ticks elapsed since ticks. Ticks are the smallest measurable units of time in PalmOS. There are (ticks-per-sec) ticks in a second. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Primitive procedure | |||||||||
Format | (time? obj) | |||||||||
Parameters |
|
|||||||||
Description | time? returns #t for a time value and #f for any other object. | |||||||||
R4RS Compliance | LispMe extension | |||||||||
Examples |
|
Category | Native procedure | |||
Format | (time-hour time) | |||
Parameters |
|
|||
Description | time-hour returns the hour part of a time value as an integer value in the range 0..23. Note that PalmOS time values don't include seconds, so there is no time-second function. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (time-minute time) | |||
Parameters |
|
|||
Description | time-minute returns the minute part of a time value as an integer value in the range 0..59. Note that PalmOS time values don't include seconds, so there is no time-second function. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | UI event |
Format | (timeout) |
Parameters | None |
Description | timeout is the event posted when the maximum
waiting time for an event has passed and no other event has arrived
yet. The waiting time can be specified in a call to
frm-popup or
frm-goto. The PalmOS API documentation calls this event nilEvent, but I think this name is unfortunate in a Lispish context :-) |
Category | Primitive procedure (MathLib required) | ||||||
Format | (truncate num) | ||||||
Parameters |
|
||||||
Description | truncate converts num to a floating point number and returns the integer part of it. The result is not a LispMe integer, it's a floating point value. | ||||||
R4RS Compliance | Full | ||||||
Examples |
|
Category | Native procedure | |||
Format | (ts->date ts) | |||
Parameters |
|
|||
Description | ts->date returns the date part of a timestamp value as a date value (foreign value). | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (ts->number ts) | |||
Parameters |
|
|||
Description | ts->number returns the seconds part of a timestamp value as an integer. This is the number of seconds elapsed since January 1st 1904, midnight. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (ts->time ts) | |||
Parameters |
|
|||
Description | ts->time returns the time part of a timestamp value as a time value (foreign value). Note that a PalmOS time value doesn't include seconds, so you may have to use ts->second to achieve precision to a second. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (ts-second ts) | |||
Parameters |
|
|||
Description | ts-second returns the seconds part of a timestamp value as an integer value in the range 0..59. To extract other parts of a timestamp, use ts->date and ts->time and the corresponding extraction functions for date and time. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Primitive procedure | ||||||
Format | (ts? obj) | ||||||
Parameters |
|
||||||
Description | ts? returns #t for a timestamp and #f for any other object. | ||||||
R4RS Compliance | LispMe extension | ||||||
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