Box the compass: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(Added various BASIC dialects (Chipmunk Basic, GW-BASIC, MSX Basic and Quite BASIC))) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 7,702:
{{trans|Go}}
{{libheader|Wren-fmt}}
<syntaxhighlight lang="
// 'cpx' returns integer index from 0 to 31 corresponding to compass point.
Line 7,765:
var index = i%32 + 1 // printable index computed per pseudocode
var d = degreesToCompassPoint.call(h)
i = i + 1
}</syntaxhighlight>
|