diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi | 2 | ||||
| -rw-r--r-- | content/html/gemfeed/2010-05-09-the-fype-programming-language.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi b/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi index 9aa3b675..3b008457 100644 --- a/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi +++ b/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi @@ -477,7 +477,7 @@ 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” } 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! </pre> <h2>Arrays</h2> -<p>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:</p> +<p>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:</p> <pre> func bar { say ”bar” } my foo = [bar, 1, 4/2, double ”3”, [”A”, [”BA”, ”BB”]]]; |
