Call a function: Difference between revisions

no edit summary
No edit summary
Line 4,405:
</xsl:stylesheet>
</lang>
 
=={{header|Yabasic}}==
<lang Yabasic>
sub test(a, b, c) : print a, b, c : end sub
 
test(1, 2, 3) // show 1 2 3
test(1, 2) // show 1 2 0
 
execute("test", 1, 2, 3) // show 1 2 3
 
sub test$(a$) // show all members of a "list"
local n, i, t$(1)
n = token(a$, t$(), ", ")
for i = 1 to n
print t$(i), " ";
next
end sub
 
test$("1, 2, 3, 4, text, 6, 7, 8, \"include text\"")
print</lang>
 
=={{header|zkl}}==
672

edits