Using the Code Viewer in VEXcode EXP

Using the Code Viewer in VEXcode EXP is easy and helpful.


How to open the Code Viewer

Screen_Shot_2022-10-04_at_2.59.01_PM.png

Launch VEXcode EXP

Screen_Shot_2022-10-04_at_2.10.24_PM.png

The platform defaults to the Blocks interface.

Screen_Shot_2022-10-04_at_2.10.36_PM.png

Select the Code Viewer icon to open the Code Viewer window.

Screen_Shot_2022-10-04_at_2.11.10_PM.png

The Code Viewer window displays the C++ version of the Blocks project.

Screen_Shot_2022-10-04_at_1.56.13_PM.png

If using a VEX EXP Brain, you can also select "Python" from the bottom menu to see the Python version of the Blocks project.

Screen_Shot_2022-10-04_at_2.12.26_PM.png

Hide the Code Viewer window when finished by selecting the right arrow next to the Help icon.


How text commands are added when blocks are added

Screen_Shot_2022-10-04_at_2.27.39_PM.png

Add a [Print] block to the project.

Screen_Shot_2022-10-04_at_2.28.10_PM.png

Select the Code Viewer icon to open the Code Viewer window.

Screen_Shot_2022-10-04_at_2.31.09_PM.png

Notice that the print command will also be added to the Command Viewer window.


How text commands are deleted when blocks are deleted

Screen_Shot_2022-10-04_at_2.32.23_PM.png

Delete the [Print] block from the VEXcode EXP project.

Note: for more information on how to delete a block, view the Delete a Block article from the VEX Library.

Screen_Shot_2022-10-04_at_2.33.20_PM.png

Notice that the print command will also be deleted from the Command Viewer window.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: