Ultrasonic Collision Script icon Ultrasonic Collision Script — Ultrasonic sensor triggers custom script on object detection; configurable interval & min distance, with optional forward-only trigger for navigation. Try it →
Singapore
Asked — Edited
2 Participants

Colour In Scripts

Hi guys,

Is there a way where I can set different colors for different parts in a script so that each individual parts can be easily identified? It is so that when I explain parts of my script to others, I don't have to burn time searching for them in the big script chunk. Is is already in existence (in which case I'd be happy if someone could point me to it) or is there a thread for it?

Thanks in advance guys!


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

No, this is not currently a feature of the EZ-Script editor. However, watch for future updates as knowing DJ he may add that function.

Author Avatar
Singapore
#2  

Thanks Rich! Will keep tab on future updates...

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Use comments for separating code. Comments are lines starting with a # (number sign)


# *********************************************
# This is a section of code for printing
# *********************************************
print("Hello")

# *********************************************
# This is a section for saying hello
# *********************************************
SayEZB("Hello there")

# *********************************************
# This is the end of the file
# *********************************************