Asked — Edited

Error Message On Scriptstop

Has anyone used ScriptStop sucessfully, without geting an Error ?

I was trying to use ScriptStop to debug my Roomba SendSerial Script, Line-By-Line, and I keep getting Syntax Error on line 18: Unknown Command: ScriptStop .

I have attached my EZ-B SendSerial Script that I am trying to learn to Debug.

Thanks All,

DougPope@cox.net, 602-246-1246(H)

View thread: https://synthiam.com/Community/Questions/2747

SendSerialSound&Direction27,-Jan-2013.EZB


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

United Kingdom
#1  

I've not used ScriptStop nor did I realise there was such a command, but why not test the code line by line using either the script console or by adding the label :End at the bottom of the script and using a Goto(End) where you want the script to stop?

PRO
Synthiam
#2  

There is no command for scriptStop. The available commands are to the right of the editor. To stop a script at a specific point, use Halt()

ScriptStop is a ControlCommand() function.

You may review examples by pressing the Examples button :)