Another great usage of block
that @lkedward pointed out to me is to prevent name clashes between intrinsic functions and named variables by introducing a new local scope. An example can be found in the discussion Best practices for passing C strings.
2 Likes