fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 264: Automated passing of array bounds
Idiom # 264: Automated passing of array bounds
See
programming-idioms.org
:
Code
foo (two_dim_arr array2 i32) is say "{two_dim_arr.length0}, {two_dim_arr.length1}"
What are effects?
Running Example
ex264 => foo (two_dim_arr array2 i32) is say "{two_dim_arr.length0}, {two_dim_arr.length1}" a := array2 i32 2 3 (x,y)->x*y foo a
What are effects?
last changed: 2024-07-01
next: Idiom # 265: Calculate parity of an integer