Jump to content

Variables: Difference between revisions

(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 1,810:
=={{header|EasyLang}}==
 
<syntaxhighlight lang="text"># it is statically typed
# it is statically typed
#
# global number variable
Line 1,820 ⟶ 1,821:
func f . .
# i is local, because it is first used in the function
for i range= 1 to len a[]
print a[i]
.
Line 1,832 ⟶ 1,833:
# array of strings
fruits$[] = [ "apple" "banana" "orange" ]
print fruits$[]</syntaxhighlight>
</syntaxhighlight>
 
=={{header|Eiffel}}==
2,060

edits

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