Sign in
apache
/
casbin-jcasbin-aviatorscript
/
refs/heads/stable
/
.
/
examples
/
tuple.av
blob: 600faef3d25598f7fc0d1fe9084f722a00af1c4c [
file
] [
log
] [
blame
]
## examples/tuple.av
let
t
=
tuple
(
1
,
2
,
"hello"
,
3.14
);
println
(
"type of t: "
+
type
(
t
));
for
x
in
t
{
println
(
x
);
}
println
(
"count of t: "
+
count
(
t
));
println
(
"t[0] = "
+
t
[
0
]);
t
[
0
]
=
100
;
println
(
"t[0] = "
+
t
[
0
]);