From a0a2af847e31cb31ca134e92412d60d17294b4f8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 5 May 2021 09:56:54 +0100 Subject: fix --- content/html/gemfeed/2010-05-09-the-fype-programming-language.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/html/gemfeed') diff --git a/content/html/gemfeed/2010-05-09-the-fype-programming-language.html b/content/html/gemfeed/2010-05-09-the-fype-programming-language.html index 5dd8e5e0..1dd0d340 100644 --- a/content/html/gemfeed/2010-05-09-the-fype-programming-language.html +++ b/content/html/gemfeed/2010-05-09-the-fype-programming-language.html @@ -397,7 +397,7 @@ foo; bar; # Will produce an error, because bar is out of scope!

Arrays

-

Some progress on arrays has been made too. The following example creates a multi dimensional array "foo". Its first element is the return value of the func which is 0. The fourth value is a string ”3” converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its last element:

+

Some progress on arrays has been made too. The following example creates a multi dimensional array "foo". Its first element is the return value of the func which is "bar". The fourth value is a string ”3” converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its last element:

 func bar { say ”bar” }
 my foo = [bar, 1, 4/2, double ”3”, [”A”, [”BA”, ”BB”]]];
-- 
cgit v1.2.3