Asked
Resolved Resolved by DJ Sures!

Check If Connected In Java Script

i know you can check for connection in EZB scripting language by using isconnected(1).  What is it for JavaScript?

I cant find it in the help section.


Related Hardware EZ-B v4

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.

PRO
USA
#2  

Thank you for the information.  I have bookmarked for future reference.

PRO
Synthiam
#3   — Edited

Awesome - If you ever forget it, find the manual by clicking on SUPPORT at the top of the website. Along the left you will see all of the categories for getting started, programming, skills manuals, hardware, etc...

User-inserted image

#4  

Thanks for adding that JavaScript coding help section. I really want to learn how to code in this language. I have some very cumbersome scripts in EZ Script that I'd like to see if they work better in JavaScript. Then eventually rep[lace all my EZ Scripts with JavaScript. Hopefully soon when I have more time on hand.

Is it possible in ARC to run both JavaScripts and EZ Scripts in within the same project?

PRO
Synthiam
#5  

Yes. When you edit a script, choose what language you want.

#6  

Thanks DJ.  Good to know. I'm looking forward to getting into this.