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
t := (2.5, "hello", -1)
What are effects?
Running Example
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: 2024-07-01
next: Idiom # 221: Remove all non-digits characters