manual:chapter6:flags:cmd_dms

#### Synopsis

Set the angle mode flags to degrees / minutes / seconds

#### Stack Diagram

Input Stack Output Stack
Level 1 Level 1

 Keyword type Command Parallel list processing capabilities Group 1 Commands that cannot parallel process Affected by flags -17 Default angle unit (bit 0) -18 Default angle unit (bit 1)

#### Description

The DMS command sets flags –17 and –18, and displays the ∡d annunciator.

In DMS angle mode, real number arguments that represent angles are interpreted as degrees / minutes / seconds, and real number results that represent angles are expressed in degrees / minutes / seconds.

An angle in DMS format is written as a real number in the format DD.MMSSxxx… where:

• DD expresses the number of degrees;
• MM expresses the number of minutes of arc and ranges from 00 to 59;
• SS expresses the number of seconds of arc and ranges from 00 to 59;
• xxx… expresses the remaining fraction of seconds of arc.

#### Compatibility

DMS is specific to newRPL and has no direct equivalent in userRPL.

#### Usage

Input

4:
3:
2:
1:                               30.1535
…………………………………………………………………………………………………………
DMS SIN                                 

Output

4:
3:
2:
1:                       0.503920549537.
…………………………………………………………………………………………………………


#### Related Commands

Command Short Description
SETLOCALE Change the separator symbols NEW
SETNFMT Change the display format for numbers NEW
SF Set a flag
CF Clear a flag
FC? Test if a flag is clear
FS? Test if a flag is set
FC?C Test if a flag is clear, then clear it
FS?C Test if a flag is set, then clear it
MENUBKLST Display the previous menu on the area the user used last NEW
MENUBKOTHR Display the previous menu on the area the user did not use last NEW
DEG Set the angle mode flags to degrees
DMS Set the angle mode to DMS (as DD.MMSS)
ASNKEY Assign a custom definition to a key NEW
DELKEY Remove a custom key definition NEW
STOKEYS Store and replace all custom key definitions CHANGED
RCLKEYS Recall the list of all custom key definitions CHANGED
TYPE Get type information from an object CHANGED
TYPEE Get extended type information from an object NEW
GETLOCALE Get the current separator symbols NEW
GETNFMT Recall the current display format for numbers NEW
RCLF Recall all system flags CHANGED
STOF Store and replace all system flags CHANGED
VTYPE Get type information on the contents of a variable CHANGED
VTYPEE Get extended type information on the contents of a variable NEW
• manual/chapter6/flags/cmd_dms.txt