Blockly block catalog# Every block the Blockly dialect knows, built from the locale files the parser reads (scripts/scratchblocks-wasm/data/dialects/locales/). Empty slots stand for a value () or a dropdown [ v]; write the content in your own document. The standard blocks are shown in English (language: "en"); the same blocks exist in 24 languages, German being the default, see the languages of Blockly and jwinf .
Standard blocks# The blockly profile: Blockly’s standard blocks in today’s wording.
Schleifen# Block Code count with [ v] from () to () by () endfor each item [ v] in list () endrepeat () times endrepeat until () endrepeat while () end
Logik# Block Code if () end<() = ()><() ≥ ()><() > ()><() ≤ ()><() < ()><() ≠ ()><not ()>(null)<() and ()><() or ()>(test ())
Mathe# Block Code (() + ())(() ÷ ())(() × ())(() ^ ())(() - ())(constrain () low () high ())(remainder of () ÷ ())
Text# Block Code to [ v] append text ()item(in text () [ v] ())<() is empty>(length of ())
Listen# Block Code (create empty list)<() is empty>(length of ())(create list with item () repeated () times)(reverse ())
Variablen# Block Code change [ v] by ()set [ v] to ()
Funktionen# Block Code to () endif () return ()
jwinf# The jwinf profile: the robot and turtle world blocks of jwinf.de, plus the standard blocks whose wording differs there. jwinf is a German competition, its world blocks exist in German only.
Start# Block Code ProgrammRoboter-ProgrammSchildkröten-Programm
Aktionen# Block Code gehe rückwärtslege Objekt abgehe nach rechtsgehe(links vom Gitterrand)(rechts vom Gitterrand)springedrehe nach linksgehe nach oben(Hindernis rechts)(vor Hindernis)(Hindernis oben)(Hindernis unten)(Hindernis links)(auf Kiste)(sur un lanceur laser)(auf Zahl)(auf Objekt)(auf Tafel)(Plattform darüber)(vor Plattform)schiebe Kiste(vor Kiste)(Zahl auf dem Feld)drehe nach rechtsRückkehr von der Schießrichtung ()schieße Laser in Richtung ()gehe nach untendrehe umgehe nach linkshebe Objekt aufschreibe Zahl ()
Schildkroete# Block Code (turtle's column)setze Farbe ()gehe () Schrittegehe () Schritte zurücksetze Stift aufhebe Stift ab(turtle's row)drehe (Grad) ()drehe um ()° nach [ v]drehe um () nach [ v]drehe nach links ↺drehe um ()° nach links ↺drehe um () nach links ↺drehe um () Grad nach links ↺drehe nach rechts ↻drehe um ()° nach rechts ↻drehe um () nach rechts ↻drehe um () Grad nach rechts ↻
Schleifen# Block Code wiederhole () mal: ende
Text# Listen# Block Code (erzeuge Liste mit () mal dem Element ())
Debug# Block Code messagebox ()logge ()