User Manual
Print

Displaying Text

Print String

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"basic_consoleLogText\" disabled=\"true\" x=\"23\" y=\"337\"><value name=\"text\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\">abcde</field></shadow></value></block></xml>"}
				
			

This block is used to output string value.

Parameters: Condition: String (Default: abcde)    

Output: String
Sample code:

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"pxt-on-start\" x=\"0\" y=\"0\"><statement name=\"HANDLER\"><block type=\"basic_consoleLogText\"><value name=\"text\"><shadow type=\"text\"><field name=\"TEXT\">hello</field></shadow></value></block></statement></block></xml>"}
				
			

The output: