JavaScript Generated from Blockly Blocks

We have produced many demonstration programs for our BlocklyToSmartPascal application and have in some cases used the Blockly Playground to generate JavaScript from the same blocks. It will be useful to compare the JavaScript with the Smart Pascal code immediately above it.

Arrays
  Insertion Sort
  Linear Search
  Merging Sorted Arrays
  Parallel Arrays
Arithmetic Progression

Caesar Cipher
Fibonacci Sequence
Geometric Progression
Loops
  For loop
  While loop
Recursion and its use for calculating factorials
Rounding floats
Validation
  Character Check
  Length Check
  Presence Check
  Range Check
  Type Check

Vowel Count

Programming - a skill for life!

How to apply your knowledge of Pascal when learning JavaScript