Circles of given radius through two points: Difference between revisions

Content added Content deleted
(→‎{{header|11l}}: make Error a non-fatal exception)
m (→‎{{header|11l}}: Named tuple as a base type)
 
Line 34: Line 34:
{{trans|Python}}
{{trans|Python}}


<syntaxhighlight lang="11l">T Circle
<syntaxhighlight lang="11l">T Circle((Float x, Float y, Float r))
Float x, y, r

F String()
F String()
R ‘Circle(x=#.6, y=#.6, r=#.6)’.format(.x, .y, .r)
R ‘Circle(x=#.6, y=#.6, r=#.6)’.format(.x, .y, .r)

F (x, y, r)
.x = x
.y = y
.r = r


T Error
T Error