| STRING | C*(*) | string containing deg, arcmin, arcsec fields |
|---|---|---|
| NSTRT | I | pointer to start of decode (beginning of STRING = 1) |
| NSTRT | I | advanced past the decoded angle |
|---|---|---|
| RESLT | R | angle in radians |
| JF | I | status: |
| 0 = OK | ||
| +1 = default, RESLT unchanged (note 2) | ||
| -1 = bad degrees (note 3) | ||
| -2 = bad arcminutes (note 3) | ||
| -3 = bad arcseconds (note 3) |
| argument | before | after |
|---|---|---|
| STRING | '-57 17 44.806 12 34 56.7' |
unchanged |
| NSTRT | 1 | 16 (i.e. pointing to 12...) |
| RESLT | - | -1.00000 |
| JF | - |
| for STRING | to obtain | multiply RESLT by |
|---|---|---|
| radians | 1.0 | |
| turns | ||
| h m s | radians | 15.0 |
| h m s | days |
SLALIB --- Positional Astronomy Library