slang-users mailing list

[2009 Date Index] [2009 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] keyword "then"


Hello,

it's probably that I'm a bit stupid in the moment, but I can't get it
working. When I do:


variable x;
foreach x ([1,2,3]) {
   ()=printf("%d\n", x);
} then ()=printf("done\n");

I think it should print

1
2
3
done

but it prints the numbers only.

slsh version 0.8.4-0; S-Lang version: 2.1.4

Thanks
Bernhard






[2009 date index] [2009 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]