3 ms·
[ == if (*dataptr == 0) goto ] Isn't this wrong? I mean, `[` starts a loop, it doesn't mean goto `]`. Unless I'm getting the semantics wrong, at least one iter
by klez 9y ago
[ == if (*dataptr == 0) goto ]
Isn't this wrong? I mean, `[` starts a loop, it doesn't mean goto `]`. Unless I'm getting the semantics wrong, at least one iteration should execute, even if the current cell is set at zero.
- kiriakasis 9y agono, if the current cell is zero the loop is not run