codeblock
nounUK /ˈkəʊd.blɒk/
US /ˈkoʊd.blɑːk/
A codeblock is a small box of computer words that tells a computer what to do.
The teacher showed us how to drag a codeblock to make the robot move.
RELATED WORDS
OTHER MEANINGS
2. A section of text in a document that is formatted to show computer code.
Copy the codeblock from the manual and paste it into your file.
3. A visual puzzle piece used in block-based coding apps for kids.
Snap the green codeblock onto the blue one to finish the game.
4. A chunk of programming instructions grouped together to run as one unit.
The developer wrapped the loop inside a codeblock for clarity.