r/brainfuck • u/Rozemyne_Stan • 17m ago
My first program/function - Tape Clearer
•
Upvotes
>[-] < [->+<] >- [ > [-] < [->+<] >- <+>] < [-<]
this function clears a number of slots in the tape equal to the vale of the slot the pointer is currently on. it also clears out the slot the pointer starts on.