Jump to content

Scope/Function names and labels: Difference between revisions

Added Easylang
m (→‎{{header|Wren}}: Minor tidy)
(Added Easylang)
Line 241:
</pre>
 
 
=={{header|EasyLang}}==
{{out}}
# function names are global, the must be
# implemented or declared before usage
#
func foo1 a .
return a + 1
.
print foo1 2
#
funcdecl foo2 a .
print foo2 2
func foo2 a .
return a + 2
.
<pre>
3
4
</pre>
 
=={{header|Eiffel}}==
2,078

edits

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