- Subject: [slang-users] Question about the _for statement
- From: Bernd Eggink <bernd.eggink@xxxxxxxxxx>
- Date: Sun, 24 Apr 2022 12:19:45 +0200
Hi everybody,
the documentation says about the _for statement: "The loop will
terminate when the value of the loop index exceeds last-value". It says
nothing about what value the variable will have in this case.
Apparently it is not last-value+1 as I had expected, but last-value.
I'm fine with that, but can I rely on it?
Kind regards,
Bernd
--
http://www.sudrala.de
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.
[2022 date index]
[2022 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]