Jump to content

A+B: Difference between revisions

Add lang example
No edit summary
(Add lang example)
Line 3,514:
Several boxes can be created in the wiki page
with any valid lambdatalk expressions.
</syntaxhighlight>
 
=={{header|Lang}}==
<syntaxhighlight lang="lang">
fn.print(First number:\s)
$a = fn.int(fn.input())
 
fn.print(Second number:\s)
$b = fn.int(fn.input())
 
fn.println(Result: parser.op($a + $b))
</syntaxhighlight>
 
168

edits

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