Text Block Pro Preview

How can we display a message and an unknown name in one notification? For example, “Hello, [student’s name], how do you do?” This is done by using a text block.

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1163
  • 21 Mar 2019

The text block is in the red palette:

content picture

This block allows us to merge text. If we insert text “2” and text “3”, it will give “23” as a result. This is different from adding 2 to 3. The block just orders the texts one after the other in a common result.
The operation of joining in programming and mathematics is called concatenation.

content picture

At first, this block seems useless but all programmers who have programmed video games know how valuable it is. Have you noticed that in some games your hero is addressed by the name you have chosen? This is possible thanks to the text block. Programmers attach some text and connect it to the name you choose via a thread.

content picture

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Robotics with LEGO - Level 3.0 - Security systems
  • 50
  • 1:03
  • 213
Image for Lesson 6 - PIN code, Access codes
  • 7
  • 7
  • 20
  • 3d_rotation 1
Image for Robotics with LEGO - Level 3.5 - Measuring tools
  • 58
  • 0:00
  • 185