fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 220: Create a tuple value
Idiom # 220: Create a tuple value
See
programming-idioms.org
:
Code
Code input
t := (2.5, "hello", -1)
What are effects?
Running Example
Code input
ex220 is t := (2.5, "hello", -1) a,b,c := t say "t consists of $a, $b, $c" p := t.0 q := t.1 r := t.2 say "t consists of $p, $q, $r"
What are effects?
last changed: 2025-05-13
next: Idiom # 221: Remove all non-digits characters