[slang-users] keyword "then"

Bernhard Schönhammer B.Schoenhammer at bit-field.de
Wed Nov 18 20:10:30 UTC 2009


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





More information about the slang-users-l mailing list