Algosim documentation: BufferText

BufferText

Retrieves the text in a named output buffer.

Syntax

Description

If buf is the name of a named output buffer, then BufferText(buf) returns the current text in the buffer as a string.

Examples

n ≔ 0; while(n < 1000000, (if(round(100000⋅[sin(√n/10) + 1/(2 + sin(n/10))]) = 1, print("sols", n)); inc(n)))
BufferText("sols")
61141
88954
179809
544862
640493
641686
858770
867436

See also