Arithmetic/Complex: Difference between revisions

Content added Content deleted
(add RPL)
imported>Acediast
(→‎{{header|COBOL}}: fixed syntax highlighting)
Line 1,061: Line 1,061:
===.NET Complex class===
===.NET Complex class===
{{trans|C#}}
{{trans|C#}}
<syntaxhighlight lang="cobol"> $SET SOURCEFORMAT "FREE"
<syntaxhighlight lang="cobolfree"> $SET SOURCEFORMAT "FREE"
$SET ILUSING "System"
$SET ILUSING "System"
$SET ILUSING "System.Numerics"
$SET ILUSING "System.Numerics"
Line 1,077: Line 1,077:


===Implementation===
===Implementation===
<syntaxhighlight lang="cobol"> $SET SOURCEFORMAT "FREE"
<syntaxhighlight lang="cobolfree"> $SET SOURCEFORMAT "FREE"
class-id Prog.
class-id Prog.
method-id. Main static.
method-id. Main static.