FOR loop with Shift Register (SR)
CASE structure inside loop
BUILD ARRAY function inside TRUE case
SR initialized with empty array of I32 (or doubles, if you prefer)
X[ ] array comes thru the left wall of the FOR loop, automatically indexing it.
Compare X to 11 with a NOT EQUAL function.
In the TRUE case, use BUILD ARRAY to append X to the array in the shift register(Y[ ]). Pass the appended array out to the SR right terminal.
In the FALSE case, pass the SR thru unchanged.
Use the array out of the right SR terminal to display or whatever.
It took me longer to write these words, than it would have to do it.