Interactive programming (repl): Difference between revisions
Content added Content deleted
(Undo revision 324512 by Drkameleon (talk) AWK solution taken out by mistake when editing Arturo solution.) |
(→{{header|Arturo}}: Restored latest Arturo solution.) |
||
Line 76: | Line 76: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
<lang rebol>➜ $ arturo |
|||
In Arturo's REPL: |
|||
<lang arturo>$ :001> f: @(a b sep) -> a + 2*sep + b |
|||
Arturo |
|||
= <function> |
|||
(c) 2019-2021 Yanis Zafirópulos |
|||
⚫ | |||
⚫ | |||
# v/0.9.6.5 b/1097 @ 2021-02-09T16:40:43+01:00 |
|||
# arch: amd64/macosx |
|||
# Type info 'symbol for info about a specific symbol or built-in function |
|||
# Type help to get a list of all available functions with a short description |
|||
# For multi-line input, just add a blank space at the end of a line |
|||
# Launching interactive console - rock on! 🤘 |
|||
$> f: function [x y sep]-> x ++ (repeat sep 2) ++ y |
|||
⚫ | |||
⚫ | |||
$> </lang> |
|||
=={{header|AWK}}== |
=={{header|AWK}}== |