String of digits.
Posted: 09 Dec 2019 03:37
What's the proper way to do this?
In my head, it should be s="0 1 2 3 4 5 6 7 8 9 10"
But Automagic says s=55.0
In my head, it should be s="0 1 2 3 4 5 6 7 8 9 10"
But Automagic says s=55.0
Code: Select all
s="0";
for (i in [1 to 10]) {
s = s + "\t " + i;
}
Code: Select all
s="0";
for (i in [1 to 10]) {
s = s + "\t {i}";
}