Jump to content

Circles of given radius through two points: Difference between revisions

m
→‎{{header|11l}}: Named tuple as a base type
(→‎{{header|11l}}: make Error a non-fatal exception)
m (→‎{{header|11l}}: Named tuple as a base type)
 
Line 34:
{{trans|Python}}
 
<syntaxhighlight lang="11l">T Circle((Float x, Float y, Float r))
Float x, y, r
 
F String()
R ‘Circle(x=#.6, y=#.6, r=#.6)’.format(.x, .y, .r)
 
F (x, y, r)
.x = x
.y = y
.r = r
 
T Error
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.