Backsic is a structured programming language: instructions are grouped into code blocks.

A block can be a loop, a condition, a function, and so on.

You can recognize a code block by its indentation (the text offset), which is added automatically when the source is compiled.

Indentation is a visual aid that helps you understand how the code flows.

?x = 1
for 10
?x * 2
print ?x

next

Here, the code block corresponds to the instructions that will be repeated 10 times.

Blocks can be nested: a block inside another block.

if ?x < 10
for 10
?x * 2
print ?x

next
end
print ?x